·
computeshader · drop-in viewer
asset⌬ computeshadercomputeShaderprimary: shader.wgsl·part ofpackage tidewater.package·originates fromworld 34465908-d…
ocean_foam_texture.computeShader
Grows the tiling greyscale pattern the three foam layers stamp on the water.
by·posted 6d ago
What it does
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.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.