bevy/examples/3d
Aevyrie 85b17294b9 Fix PBR regression for unlit materials (#2197)
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.
2021-05-17 22:45:07 +00:00
..
3d_scene.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
load_gltf.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
msaa.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
orthographic.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
parenting.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
pbr.rs Fix PBR regression for unlit materials (#2197) 2021-05-17 22:45:07 +00:00
render_to_texture.rs update for wgpu 0.8 (#1959) 2021-05-02 20:45:25 +00:00
spawner.rs Doctest improvments (#1937) 2021-04-16 19:13:08 +00:00
texture.rs Make Commands and World apis consistent (#1703) 2021-03-23 00:23:40 +00:00
update_gltf_scene.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
wireframe.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
z_sort_debug.rs Make Commands and World apis consistent (#1703) 2021-03-23 00:23:40 +00:00