Skip to content

Interface: VolumeTraceRaymarch ​

Ray-marching options (render: 'raymarch').

Properties ​

PropertyTypeDefault valueDescription
shading?booleanfalseShade by the value gradient: a light at the camera, with the trace's lighting.ambient and lighting.diffuse (six more samples per step).
step?number0.5Sample spacing along the rays, in grid cells: smaller is finer and slower (the opacity per cell stays the same). Range: 0.05 – 4

Released under the MIT License.