bevy/crates/bevy_pbr
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
..
src Fix PBR regression for unlit materials (#2197) 2021-05-17 22:45:07 +00:00
Cargo.toml use bytemuck crate instead of Byteable trait (#2183) 2021-05-17 22:29:10 +00:00