THREE.JS / SOURCE CONTRACT 349
Uniforms are the pulse.
A fullscreen ShaderMaterial keeps its time, speed, and distortion uniforms on the CPU while GLSL owns the image. The controls expose mutation, recompilation, timing, and teardown as separate contracts.
- material
- —
- uniforms
- —
- sample avg / p95
- —
Initializing shaderWebGL2
Compiling the fullscreen ShaderMaterial…
This route covers native ShaderMaterial uniform ownership and rebuild/disposal behavior. It does not claim the official page's exact pixels, device-wide shader performance, context-loss stress, or whole-example fidelity.
The visual is intentionally procedural; changing the variant rebuilds the fragment shader.
Open official ShaderMaterial example ↗LAB 349 / SHADERMATERIAL UNIFORMS