TSL conversion - Convert GLSL materials to Three.js TSL node materials
Converts Three.js materials using GLSL shaders into TSL node materials and verifies the result in a browser.
Tags
Updated: 2026-11-29Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Convert GLSL materials
- Build TSL node graphs
- Use WebGPU imports
- Organize TSL material files
- Handle runtime texture replacement
- Comment shadow-casting logic
- Verify browser console errors
Inputs
- Three.js GLSL materials
- Project source files
- Texture resources
- TSL reference documentation
Outputs
- Converted TSL material files
- Updated project source files
- Browser console verification state
Requirements
- npm development script
- Browser with WebGPU support
- Three.js WebGPU and TSL modules
- Renderer initialization before rendering
- Access to TSL reference files
