THREE.JS / FOUNDATIONS 61

The air has memory.

Eight million voxels become a cloud. Compute writes a 3D density field, then a raymarching material samples that field through the volume.

Initializing 3D texture compute—
Preparing the 200 × 200 × 200 density field.

Live density is off by default because 8,000,000 compute invocations are expensive every frame.

LAB 61 / COMPUTE TEXTURE 3D