THREE.JS / FOUNDATIONS 60

A picture with no pixels.

The GPU writes every texel, then the material samples the same texture as a finished image. Change the wave field and watch one dispatch redraw the whole surface.

Initializing compute texture—
Preparing a 512 × 512 storage texture.

The WebGL2 route mirrors the field into a CPU-owned DataTexture.

LAB 60 / COMPUTE TEXTURE