From b9c2a0394343ff3586880d118b7d549b3e748cad Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 28 Feb 2026 11:50:13 +0100 Subject: refactor(effects): co-locate effect WGSL shaders with their .h/.cc in src/effects/ Move 13 effect-specific shaders from workspaces/main/shaders/ to src/effects/ so each effect's .h, .cc, and .wgsl are together. Update assets.txt paths in both main and test workspaces. Update EFFECT_WORKFLOW.md to reflect new location. Shared/reusable snippets remain in src/shaders/. handoff(Gemini): shaders moved; src/effects/ now has .h, .cc, and .wgsl per effect. Co-Authored-By: Claude Sonnet 4.6 --- doc/EFFECT_WORKFLOW.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/EFFECT_WORKFLOW.md b/doc/EFFECT_WORKFLOW.md index 3e574f6..b71e76d 100644 --- a/doc/EFFECT_WORKFLOW.md +++ b/doc/EFFECT_WORKFLOW.md @@ -21,7 +21,7 @@ Checklist for adding visual effects. **Files**: - Header: `src/effects/_effect.h` - Implementation: `src/effects/_effect.cc` -- Shader: `workspaces/main/shaders/.wgsl` +- Shader: `src/effects/.wgsl` **Class name**: `Effect` (e.g., `TunnelEffect`) @@ -63,7 +63,7 @@ params.aspect_ratio; // width/height **File**: `workspaces/main/assets.txt` ``` -SHADER_, NONE, shaders/.wgsl, "Description" +SHADER_, NONE, ../../src/effects/.wgsl, "Description" ``` Asset ID: `AssetId::ASSET_SHADER_` -- cgit v1.2.3