API STUDY / SHADER MODULES

A shader is only half the contract.

Pure GLSL modules become useful when their cloned uniforms, input texture IDs, resolution policy, and composer order are made explicit.

Preparing study—

Creating a shader-module graph.

This route is intentionally WebGL2/GLSL: shader modules are definitions, while ShaderPass and EffectComposer own the fullscreen material, buffer routing, and disposal.

THREE.JS FOUNDATIONS / PURE GLSL MODULES