Switch works fine. Try in a standalone file, not in the TSL editor.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Transpiling shader from GLSL ES 3 to TSL | 6 | 940 | May 23, 2025 | |
| Is there a description of the tsl commands? | 6 | 2818 | September 22, 2023 | |
| How to port vMapUv to TSL? | 36 | 909 | December 31, 2025 | |
| How to convert shader code to tsl in this situation | 1 | 97 | March 10, 2025 | |
| Defines in TSL/WebGPU | 9 | 257 | January 19, 2026 |
