mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
85b17294b9
Fixes the frag shader for unlit materials by correcting the scope of the `#ifndef` to include the light functions. Closes #2190, introduced in #2112. Tested by changing materials in the the `3d_scene` example to be unlit. Unsure how to prevent future regressions without creating a test case scene that will catch these runtime panics. |
||
---|---|---|
.. | ||
render_graph | ||
entity.rs | ||
lib.rs | ||
light.rs | ||
material.rs |