bevy/crates/bevy_pbr/src
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
..
render_graph Fix PBR regression for unlit materials (#2197) 2021-05-17 22:45:07 +00:00
entity.rs Rename Light => PointLight and remove unused properties (#1778) 2021-04-13 02:21:24 +00:00
lib.rs Directional light (#2112) 2021-05-14 20:37:34 +00:00
light.rs use bytemuck crate instead of Byteable trait (#2183) 2021-05-17 22:29:10 +00:00
material.rs Cargo fmt with unstable features (#1903) 2021-04-21 23:19:34 +00:00