bevy/crates/bevy_pbr/src
François 3537c6ae2d Fix animation: shadow and wireframe support (#4367)
# Objective

Animation with shadows crashes with:
```
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `shadow_pipeline`
    error matching VERTEX shader requirements against the pipeline
    shader global ResourceBinding { group: 1, binding: 1 } is not available in the layout pipeline layout
    visibility flags don't include the shader stage
```


Animation with wireframe crashes with:
```
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `opaque_mesh_pipeline`
    error matching VERTEX shader requirements against the pipeline
    shader global ResourceBinding { group: 2, binding: 0 } is not available in the layout pipeline layout
    binding is missing from the pipeline layout
```

## Solution

- Fix the bindings
2022-03-30 19:56:16 +00:00
..
render Fix animation: shadow and wireframe support (#4367) 2022-03-30 19:56:16 +00:00
alpha.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bundle.rs add Visibility for lights (#3958) 2022-03-05 03:23:01 +00:00
lib.rs Always update clusters and remove per-frame allocations (#4169) 2022-03-24 00:20:27 +00:00
light.rs Always update clusters and remove per-frame allocations (#4169) 2022-03-24 00:20:27 +00:00
material.rs Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
pbr_material.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
wireframe.rs ParamSet for conflicting SystemParam:s (#2765) 2022-03-29 23:39:38 +00:00