diff --git a/crates/bevy_pbr/src/render/pbr.wgsl b/crates/bevy_pbr/src/render/pbr.wgsl index 6b9113f11d..77057f2755 100644 --- a/crates/bevy_pbr/src/render/pbr.wgsl +++ b/crates/bevy_pbr/src/render/pbr.wgsl @@ -166,6 +166,8 @@ fn fragment( pbr_input.flags = mesh[in.instance_index].flags; pbr_input.material.flags = pbr_bindings::material.flags; pbr_input.world_position = in.world_position; + pbr_input.world_normal = in.world_normal; + pbr_input.frag_coord = in.position; #endif }