tsl

Installation
SKILL.md

Three.js Shading Language

Build version-matched TSL code and prove it through the repository's real renderer. Treat remembered APIs and this skill's examples as hypotheses until the installed Three.js package confirms them.

Ground the task

  1. Read the nearest package.json, renderer setup, material or pass being changed, TypeScript configuration, and relevant tests.
  2. Record the installed three and @types/three versions. Inspect their exports, declarations, and shipped examples before inventing an import, cast, or workaround.
  3. Preserve the existing renderer and public boundaries unless the request explicitly includes a migration. TSL is the right tool for a TSL/WebGPU task; it is not a reason to rewrite unrelated working GLSL or WebGL code.
  4. Identify the execution surface before coding:
Surface Start with
Material property or vertex deformation nodes.md
Storage buffer or compute dispatch compute.md
Fullscreen pass, MRT, depth, or neighboring samples postprocessing.md
Existing GLSL or ShaderMaterial migration migration.md
Type errors or source-path imports typescript.md
Browser/GPU evidence verification.md
Installs
2
Repository
pmndrs/glyph
GitHub Stars
141
First Seen
Sep 3, 2026
tsl — pmndrs/glyph