summaryrefslogtreecommitdiff
path: root/tools/shadertoy/README.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-10 18:53:17 +0100
committerskal <pascal.massimino@gmail.com>2026-02-10 18:53:17 +0100
commitdfe33c099d36dad6d2a62ff583e7354df0a73cca (patch)
treef63dfd5e24943f2233eba9ccde915dd9dc6400bd /tools/shadertoy/README.md
parentebceca338c902ffaa650f931a356c28a0659ebb1 (diff)
feat: Add --shader-only option to convert_shadertoy.py
Allows regenerating just the .wgsl shader file without touching .h/.cc files when iterating on shader code. Usage: ./tools/shadertoy/convert_shadertoy.py shader.txt EffectName --shader-only Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/shadertoy/README.md')
-rw-r--r--tools/shadertoy/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/shadertoy/README.md b/tools/shadertoy/README.md
index d12865f..283a65f 100644
--- a/tools/shadertoy/README.md
+++ b/tools/shadertoy/README.md
@@ -19,6 +19,9 @@ EOF
# Generate effect files
./tools/shadertoy/convert_shadertoy.py tunnel.txt Tunnel
+# Regenerate only shader (if .h/.cc already exist)
+./tools/shadertoy/convert_shadertoy.py tunnel.txt Tunnel --shader-only
+
# Follow printed instructions to integrate
```