Skip to main content

shared_shadow_pass

Function shared_shadow_pass 

Source
pub fn shared_shadow_pass<const IS_LATE: bool>(
    world: &World,
    view_light_query: ViewQuery<'_, '_, (Entity, &ShadowView, &ExtractedView, Has<OcclusionCulling>)>,
    shadow_render_phases: Res<'_, ViewBinnedRenderPhases<Shadow>>,
    ctx: RenderContext<'_, '_>,
)
Expand description

Renders the shadow maps that aren’t associated with a specific view.

At present, these consist of the point and spot light shadow maps.