Context
Follow-up from #56 (TSL support). The shaderbase-skills/ directory needs TSL-specific skills for AI agents working with Three Shading Language shaders.
Skills to create
tsl-fundamentals
- TSL node API basics (
color, float, vec3, uv, time, etc.)
- Node composition patterns (
.mul(), .add(), .mix())
- Common nodes:
sin, cos, fract, step, smoothstep
NodeMaterial setup and colorNode / positionNode assignment
- Import patterns (
three/tsl, three/webgpu)
- The
createMaterial() contract
tsl-patterns
- Advanced TSL recipes: noise, SDF, procedural textures
- Animated patterns using
time node
- Color manipulation and blending
- Geometry displacement via
positionNode
Update shaderbase-manifest skill
- Document TSL manifest fields (
language: "tsl", tslEntry)
- Show TSL manifest examples alongside GLSL
- Document the
node-material compatibility value
Reference
Context
Follow-up from #56 (TSL support). The
shaderbase-skills/directory needs TSL-specific skills for AI agents working with Three Shading Language shaders.Skills to create
tsl-fundamentalscolor,float,vec3,uv,time, etc.).mul(),.add(),.mix())sin,cos,fract,step,smoothstepNodeMaterialsetup andcolorNode/positionNodeassignmentthree/tsl,three/webgpu)createMaterial()contracttsl-patternstimenodepositionNodeUpdate
shaderbase-manifestskilllanguage: "tsl",tslEntry)node-materialcompatibility valueReference
shaders/tsl-gradient-wave/