/tdmcp-skills:td-mat-familyfrom TDMCP Skills
Creates and assigns TouchDesigner materials including constantMAT, pbrMAT, pointspriteMAT, glslMAT, and lineMAT for rendering. Guides on material selection, PBR environment setup, and glslMAT workflow.
Ships in TDMCP Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Materials control how geometry appears when rendered by a renderTOP.
td-glsl-shaders skill for shader codepointsize, optional colormap texture)wireframe=trueRenders each point as a camera-facing square. Without this, points render as single pixels.
pointsize — sprite size in pixels (default 1)colormap — optional TOP texture mapped onto each spritealpha — global opacity multiplierblending — enable for transparencysizingmodel — constant/attenuate or attrib. Attenuate scales with distance./mat_name. Material lives with its geometrymat_name). Shared across geometryCOMPsmattype_purpose (e.g. pointsprite_particle, pbr_surface, constant_debug)get_help before setting parameters — par names vary between MAT typespbrMAT renders completely black without an environment light:
environmentlightCOMP inside the geometryCOMP (or sibling)moviefileinTOP with file = app.samplesFolder + '/Map/CloudyOcean_2Kx1K_8bit.tif'envmap to the moviefileinTOPnormalPOP with tang=alwayscompute — PBR lighting requires tangent vectorsFrom scratch — creating a glslMAT auto-docks three DATs: <name>_vertex, <name>_pixel, <name>_info.
_pixel docked DAT_vertex → <name>_shader (stays docked to MAT)#ifdef TD_VERTEX_SHADER / #ifdef TD_PIXEL_SHADER guardsvdat and pdat to the renamed DAT_info docked for compile error visibility./mat_name when inside a geometryCOMPFrom pbrMAT/phongMAT — pulse outputshader on the existing material. This creates a glslMAT with all built-in uniforms and shader code pre-populated in separate vertex/pixel DATs. Better starting point when extending PBR-style materials — modify the generated shaders instead of writing from scratch.
Layout follows the GLSL DAT sandwich pattern (see td-node-layout skill). Load td-glsl-shaders skill for shader code, uniforms, and templates.
./ means child, no prefix means sibling. Match placement to referenceblending=true on the MATtang must be alwayscompute, otherwise lighting failsmetallic defaults to 1 — must explicitly set metallic=0 for non-metallic surfaces, otherwise geometry looks like chromebasecolormap from vertex Tex coords. Use attributeconvertPOP (convertop=pointtovert) to convert. See td-pop-family skillCd/N silent failure — referencing Cd or N as vertex attributes silently kills rendering (geometry vanishes, no errors). Use TDPointColor() for vertex color, derive normals via dFdx/dFdy(worldPos) in fragment shaderlinecoloratt='Color' reads per-primitive Color (RGBA incl alpha). Without it, lines use flat colorr/g/bwidthaffectedbyfov=ON scales width with orthowidth; normalizing the cam (orthowidth 1920→1.0) makes lines sub-pixel/invisible. Fixed-resolution output: widthaffectedbyfov=OFF + pixel widthsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub touchdesigner/tdmcpskills --plugin tdmcp-skills19 skills in this plugin
/td-build-planningPlan TouchDesigner builds — scout networks, decide operators, allocate positions, phase work. Use before any multi-operator build./td-chop-familyBuild CHOP chains for audio, LFOs, animation, and data-driven control. Use when creating CHOPs or driving parameters from CHOPs./td-colabCollaborative mode — you're a thinking partner in TouchDesigner, not a builder. Load when you're sliding into auto-building or need to reset the collaborative frame./td-comp-architectureComponent design — baseCOMPs, extensions, custom parameters, parent shortcuts, modularity. Use when creating COMPs or structuring projects./td-dat-familyDAT operations — table data, Python callbacks, parameter execute, CHOP execute. Use when creating or populating any DAT./td-generalCore TouchDesigner conventions and the skill map — workflow phases, naming, paths, tool preferences, universal pitfalls. Load FIRST on any TouchDesigner task, before any other td- skill.Other plugins' skills for the same job