We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e98fe0a commit 95b9117Copy full SHA for 95b9117
crates/bevy_pbr/src/deferred/mod.rs
@@ -345,6 +345,10 @@ impl SpecializedRenderPipeline for DeferredLightingLayout {
345
} else if shadow_filter_method == MeshPipelineKey::SHADOW_FILTER_METHOD_TEMPORAL {
346
shader_defs.push("SHADOW_FILTER_METHOD_TEMPORAL".into());
347
}
348
+ if self.mesh_pipeline.binding_arrays_are_usable {
349
+ shader_defs.push("MULTIPLE_LIGHT_PROBES_IN_ARRAY".into());
350
+ shader_defs.push("MULTIPLE_LIGHTMAPS_IN_ARRAY".into());
351
+ }
352
353
#[cfg(all(feature = "webgl", target_arch = "wasm32", not(feature = "webgpu")))]
354
shader_defs.push("SIXTEEN_BYTE_ALIGNMENT".into());
0 commit comments