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.
Volume raymarch controls
Density field is ready for inspection.
- path
- —
- volume
- —
- voxels
- —
- steps
- —
- dispatches
- —
- draw calls
- —
3D texture initialization failed.
The volume could not initialize.
Live density is off by default because 8,000,000 compute invocations are expensive every frame.
LAB 61 / COMPUTE TEXTURE 3D