Function bevy::pbr::prepare_view_depth_textures_for_volumetric_fog
source · pub fn prepare_view_depth_textures_for_volumetric_fog(
view_targets: Query<'_, '_, &mut Camera3d, With<VolumetricFogSettings>>
)
Expand description
A system that marks all view depth textures as readable in shaders.
The volumetric lighting pass needs to do this, and it doesn’t happen by default.