chase_noise.shaderModule
- .metadata41 B
- README.md623 B
- module.wgsl3.4 KB
README.md
chase_noise
Hash, value-noise and fBm helpers (2D and 3D) shared by stormFrontKit's shaders: chase_volume
(the storm, sandstorm, glitch, fog, collapse-dust, void and haze fronts) and chase_surface (rising lava and flood
water). Include with #include "stormFrontKit.shaderModules.chase_noise".
ck_hash11/12/13hashes,ck_noise2/ck_noise3smooth value noise in 0..1ck_fbm2(p)5 octaves,ck_fbm3(p)4 octaves,ck_fbm3_lo(p)2 octaves (cheap light samples)ck_warp2(p, t)domain-warped fbm for molten / water surfacesck_voronoi2(p)returns (F1, F2) cell distances for crust and foam cells