Skip to main content

Module sky_ground

Module sky_ground 

Source

Structs§

Ground
Sky
Linear light; below is the color at ray y = -1, above at ray y = +1, mixed linearly in y.
SkyGroundNode
SkyGroundUniforms
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 / density world 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.