cloud_noise.computeShader
- README.md891 B
- bindings.yaml252 B
- shader.wgsl6.1 KB
This package holds more than this page lists. See all of its files in its world.
README.md
cloud_noise
The cloud layer's tiling noise, filled once into two 3D textures the raymarcher samples in world space (Schneider's Nubis noise set):
- shape (128^3 rgba8): R is Perlin-Worley (gradient noise dilated by Worley noise), the billowing body of a cloud; G, B and A are Worley FBM at periods 4, 8 and 16, which erode it.
- detail (64^3 rgba8): Worley FBM at periods 2, 4 and 8, which carve the edge of a cloud into billows and wisps.
Every channel tiles across the texture's edges. The textures hold no weather,
no wind and no extent: VolumetricSky places them in world units
(shapeScale, detailScale), moves them with the wind and reads coverage and
cloud type from its weather map, so none of those ever refills them.
Bindings (see bindings.yaml): out_vol (storage3d rgba8, the texture being
filled) and U ([0] layout: 0 shape, 1 detail; [1] seed).