Import ISF shader
import_isf_shaderImport an ISF shader into TouchDesigner as a GLSL TOP with companion DATs and optional live controls. Accepts raw text, file, or URL and returns container paths and a preview.
Instructions
Create a new TouchDesigner system container containing an ISF (.fs) shader as a GLSL TOP, companion DATs, and optional live controls. Accepts raw source, a local file path, or an http(s) URL; URL fetches are bounded by fetch_timeout_ms. Returns the container/GLSL/output paths, generated controls, provenance, warnings for inputs that need manual wiring, and an inline preview when capture_preview=true. Use create_glsl_shader for hand-written GLSL or import_shadertoy for Shadertoy sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | System container name (sanitized). Defaults to ISF DESCRIPTION or 'isf_shader'. | |
| source | Yes | ISF (.fs) source: raw shader text, a local file path, or an http(s) URL. | |
| resolution | No | GLSL TOP output resolution [width, height]. | |
| parent_path | No | Container parent COMP path. | /project1 |
| source_kind | No | Override the source sniffer; 'raw' skips IO. | auto |
| pixel_format | No | Pixel format for the generated GLSL TOP. | rgba8 |
| capture_preview | No | Capture an inline preview after the shader is built; disable for faster headless runs. | |
| expose_controls | No | Expose ISF inputs as live custom controls on the generated system container. | |
| control_defaults | No | Override the ISF DEFAULT for any input at build time. | |
| fetch_timeout_ms | No | Timeout in milliseconds for URL sources; local files and raw source do not need network access. | |
| channel_overrides | No | Override default placeholder noise for ISF image/audio inputs. |