Skip to main content

pcf_sample

Function pcf_sample 

Source
pub fn pcf_sample(
    shadow_map: &ShadowMap,
    uv: (f32, f32),
    depth: f32,
    kernel_size: u32,
) -> f32
Expand description

Percentage-closer filtering for soft shadows.