Get GLSL Pattern
get_glsl_patternRetrieve GLSL shader patterns and GPU code snippets with full code ready to paste into TouchDesigner GLSL TOP.
Instructions
Retrieve specific GLSL shader patterns or GPU technique code snippets with full code ready to paste into a TouchDesigner GLSL TOP. Also provides common GLSL utility libraries. Use 'list' to see all available patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Pattern name to retrieve. Use 'list' to see all available patterns. Examples: 'raymarching', 'reaction_diffusion', 'fbm', 'voronoi', 'feedback_zoom', 'game_of_life', 'boids', 'particle_compute', 'sdf_primitives', 'color_utils', 'math_utils' | |
| include_utilities | No | Include GLSL utility functions (SDF primitives, color utils, math utils) alongside the pattern code (default: false) |