An endless flight down a dark canyon
| Name | Type | Default | Description |
|---|---|---|---|
speed | number | 1 | Travel speed along the canyon floor. |
steps | number | 128 | Ray-march steps per pixel, 32 to 256. More steps resolve farther detail at GPU cost. |
stepScale | number | 0.5 | Fraction of the safe distance each step advances; lower is finer and darker. |
scale | number | 0.25 | Frequency of the terrain noise. |
height | number | 1 | Height multiplier of the terrain ridges. |
spread | number | 34 | How quickly the walls rise away from the centre line. |
wallCurve | number | 2.5 | Curve of the wall rise; higher keeps the floor flatter for longer. |
fade | number | 35 | Distance at which the canyon fades into the near colour. 0 disables. |
cameraHeight | number | 6 | Camera height above the floor. |
tilt | number | 0.05 | Camera pitch in radians; positive looks down. |
roll | number | 0.075 | Camera roll in radians. |
fov | number | 1 | Field of view multiplier. |
nearColor | string | "#000000" | Colour of near surfaces. |
farColor | string | "#ffffff" | Colour the tone ramps towards at grazing angles and far walls. |