diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-10 18:53:17 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-10 18:53:17 +0100 |
| commit | dfe33c099d36dad6d2a62ff583e7354df0a73cca (patch) | |
| tree | f63dfd5e24943f2233eba9ccde915dd9dc6400bd /tools/shadertoy/README.md | |
| parent | ebceca338c902ffaa650f931a356c28a0659ebb1 (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.md | 3 |
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 ``` |
