Node materials and shaders in TSL
The shader is assembled with the TSL function instead of the GLSL letter, so that the same material code is turned on both WebGPU and WebGL2.
- Category
- WebGPU & modern rendering
Technical terms · TSL (Three.js Shading Language) · Node material (MeshStandardNodeMaterial) · WebGPURenderer (three/webgpu) · uniform() · mx_noise_float()