Structs§
- Ground
- Sky
- Linear light;
belowis the color at ray y = -1,aboveat ray y = +1, mixed linearly in y. - SkyGround
Node - SkyGround
Uniforms - Bind group 0, binding 0; matches the node’s WGSL
Uniforms.
Constants§
- DEFAULT_
FOG_ PER_ UNIT - Half the sky is mixed in at
ln 2 / densityworld units. - DEFAULT_
SKY - GROUND_
DARK_ GREY - GROUND_
LIGHT_ GREY - SKY_
GROUND_ WGSL - Shared with
crate::raymarch::HYPERSLICE_KERNEL_WGSL. - SKY_
HORIZON
Functions§
- linear_
from_ srgb8 - Returns linear light.