summaryrefslogtreecommitdiff
path: root/tools/shadertoy/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shadertoy/README.md')
-rw-r--r--tools/shadertoy/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/shadertoy/README.md b/tools/shadertoy/README.md
index 283a65f..1ce42e8 100644
--- a/tools/shadertoy/README.md
+++ b/tools/shadertoy/README.md
@@ -44,8 +44,8 @@ EOF
# Choose effect name (e.g., "tunnel", "plasma", "warp")
EFFECT_NAME="myeffect"
-cp tools/shadertoy/template.h src/gpu/effects/${EFFECT_NAME}_effect.h
-cp tools/shadertoy/template.cc src/gpu/effects/${EFFECT_NAME}_effect.cc
+cp tools/shadertoy/template.h src/effects/${EFFECT_NAME}_effect.h
+cp tools/shadertoy/template.cc src/effects/${EFFECT_NAME}_effect.cc
cp tools/shadertoy/template.wgsl workspaces/main/shaders/${EFFECT_NAME}.wgsl
```
@@ -94,7 +94,7 @@ shaders/myeffect.wgsl
In `src/gpu/demo_effects.h`:
```cpp
-#include "gpu/effects/myeffect_effect.h"
+#include "effects/myeffect_effect.h"
```
In `workspaces/main/timeline.seq`:
@@ -107,7 +107,7 @@ SEQUENCE 0.0 0
Add effect source to `CMakeLists.txt` GPU_SOURCES (both headless and normal mode sections):
```cmake
-src/gpu/effects/myeffect_effect.cc
+src/effects/myeffect_effect.cc
```
### 8. Update Tests
@@ -201,4 +201,4 @@ Always available in `uniforms: CommonUniforms`:
- See `doc/CONTRIBUTING.md` for commit policy
- See `doc/SEQUENCE.md` for timeline syntax
-- See existing effects in `src/gpu/effects/` for examples
+- See existing effects in `src/effects/` for examples