SDFFieldShadowOptions
Per-call configuration for SDFFieldNodes.shadow.
Import
import type { SDFFieldShadowOptions } from "three-blocks/sdf-raymarching";
Declaration
interface SDFFieldShadowOptions
Members
maxDistance
maxDistance?: TSLFloatInput | undefined;
Largest world-space distance marched toward the light.
lift
lift?: TSLFloatInput | undefined;
World-space clearance the sample is lifted to off the isosurface; defaults to smoothVoxels.
softness
softness?: TSLFloatInput | undefined;
Penumbra tightness; higher values harden the shadow edge.