mirror of
https://github.com/bevyengine/bevy
synced 2024-12-19 17:43:07 +00:00
8b7ebe1738
# Objective - Fix `post_processing` and `shader_prepass` examples as they fail when compiling shaders due to missing shader defs - Fixes #6799 - Fixes #6996 - Fixes #7375 - Supercedes #6997 - Supercedes #7380 ## Solution - The prepass was broken due to a missing `MAX_CASCADES_PER_LIGHT` shader def. Add it. - The shader used in the `post_processing` example is applied to a 2D mesh, so use the correct mesh2d_view_bindings shader import. |
||
---|---|---|
.. | ||
prepass | ||
render | ||
alpha.rs | ||
bundle.rs | ||
fog.rs | ||
lib.rs | ||
light.rs | ||
material.rs | ||
pbr_material.rs | ||
wireframe.rs |