TD Build GLSL (live)
td_build_glslCompiles GLSL shader techniques from a knowledge base into TouchDesigner, creating operators and uniforms for supported techniques, or returning shader code and explanation for unsupported ones.
Instructions
COMPILE a GLSL shader technique from the experimental GLSL knowledge base into a running TouchDesigner instance via the td_mcp bridge. For a SUPPORTED technique (its setup block has machine-readable operators + uniforms) it creates a Text DAT with the shader, a GLSL TOP pointed at that DAT, declares the uniforms, creates supporting operators and lays out. For an UNSUPPORTED technique (multi-pass/feedback systems needing hand wiring) it returns the shader code plus an explanation and does NOT fabricate connections. Builds into the sandbox COMP by default (/td_mcp/sandbox). Use technique:'list' to enumerate. Requires the bridge (see td_status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | No | Parent COMP to build inside. Defaults to /td_mcp/sandbox. | |
| technique | Yes | Technique id or name from the GLSL KB (e.g. 'raymarching_basic', 'Gray-Scott Reaction-Diffusion'). Use 'list' to enumerate techniques and whether each is auto-buildable. |