diff --git a/crates/bevy_pbr/src/render/fog.rs b/crates/bevy_pbr/src/render/fog.rs index f2bb22a73205f..d3125e2e8975a 100644 --- a/crates/bevy_pbr/src/render/fog.rs +++ b/crates/bevy_pbr/src/render/fog.rs @@ -53,6 +53,8 @@ pub fn prepare_fog( mut fog_meta: ResMut, views: Query<(Entity, Option<&FogSettings>), With>, ) { + fog_meta.gpu_fogs.clear(); + for (entity, fog) in &views { let gpu_fog = if let Some(fog) = fog { match &fog.falloff {