Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

cloud_raymarch_v5

Production volumetric-cloud raymarcher, v5 (Nubis/Hillaire style): Hillaire multi-scatter octaves (fixes black cloud cores), energy-conserving Beer-Powder-MS lit-edge glow, a 6-offset Wrenninge cone-trace shadow, and a dual-lobe Henyey-Greenstein phase. Reads the cloud volume + occupancy textures and writes the lit raymarch result.

Bindings (see bindings.yaml): clouds (texture3d), occupancy (texture3d), cloud_smp (sampler), out_tex (storage2d rgba16f), U (read array<f32> uniforms).

Usage: dispatch by identity with compute.dispatchEx("@builtin::systems.volumetrics.shaders.cloud_raymarch_v5", ...) (textures/sampler/storage texture require resource binding, not positional buffers) — it resolves to the shader's stable guid and auto-compiles on first use (no setup).