SDFFieldOcclusionOptions
Per-call configuration for SDFFieldNodes.occlusion.
Import
import type { SDFFieldOcclusionOptions } from "three-blocks/sdf-raymarching";
Declaration
interface SDFFieldOcclusionOptions
Members
radius
radius?: TSLFloatInput | undefined;
World-space cone length searched along the normal; keep it well above the sample clearance.
intensity
intensity?: TSLFloatInput | undefined;
Darkening applied to the measured occlusion; zero returns one.
lift
lift?: TSLFloatInput | undefined;
World-space clearance the sample is lifted to off the isosurface; defaults to smoothVoxels.