Apply a GLSL shader from the vault
apply_shader_from_vaultReads a shader note from an Obsidian vault and creates a GLSL TOP in TouchDesigner, using frontmatter for uniforms and shader code.
Instructions
Read a shader note from the Obsidian vault (a glsl fragment block, optional glslvert vertex block, and optional uniforms/resolution/name frontmatter) and create a GLSL TOP from it. Requires TDMCP_VAULT_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Shader note: a vault-relative path, or a name resolved against the Shaders/ folder. | |
| parent_path | Yes | Parent COMP to create the GLSL TOP inside. | |
| name | No | Name for the GLSL TOP (defaults to the note's frontmatter `name`, else 'glsl1'). |