Skip to main content

is_disoccluded

Function is_disoccluded 

pub fn is_disoccluded(
    current_linear_depth: f32,
    previous_linear_depth: f32,
    threshold: f32,
) -> bool
Expand description

Disocclusion metric between reprojected previous depth and current linear depth.

Returns true if depth disparity exceeds threshold, indicating that the surface at the current pixel was occluded in the previous frame and history should be rejected.