Three.js Shading Language (TSL)
- is a high-level abstraction within the Three.js library designed to simplify the process of writing shader code
- TSL acts as an interpreter, converting the JavaScript/TypeScript shader code into the appropriate low-level shader language (GLSL for WebGL2 or WGSL for WebGPU) based on the browser’s capabilities