mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |