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. |
||
|---|---|---|
| .. | ||
| 3d_scene.rs | ||
| load_gltf.rs | ||
| msaa.rs | ||
| orthographic.rs | ||
| parenting.rs | ||
| pbr.rs | ||
| render_to_texture.rs | ||
| spawner.rs | ||
| texture.rs | ||
| update_gltf_scene.rs | ||
| wireframe.rs | ||
| z_sort_debug.rs | ||