Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

ocean_foam_texture

Grows the tiling greyscale pattern the three foam layers stamp on the water.

It is generated rather than shipped as an image. A stored texture is a binary, content-addressed asset, and a material blocked on a texture reference that never resolves never prepares — which leaves its entire uniform block unwritten and the surface black, not merely un-foamed. Generating the pattern keeps foam on the same compute-texture path the cascade maps already use.

Run once per layer at startup, each with its own seed. The noise tiles: every octave hashes its lattice modulo a period that divides the texture size.