Skip to main content

sdf_volume

Function sdf_volume 

Source
pub fn sdf_volume(v: SdfVolume) -> SdfVolume
Expand description

Normalize an authored volume for the runtime: clamp the raymarch knobs to sane bounds and force shadows off for translucent volumetrics, which write no depth to cast from. The step-count bounds stay with the schema: they double as the runtime kernel’s loop bound.