diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 17:45:05 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 17:45:05 +0100 |
| commit | 63c391e803318158f239c02df5f53244bfd6a074 (patch) | |
| tree | fbe4cea2f8cff3f92eb88596add87b16125c9912 /PROJECT_CONTEXT.md | |
| parent | 4b23fdc63d422b31b6ad86d34218e7b66b462514 (diff) | |
docs: Update documentation for shader parametrization progress
- Updated TODO.md: Task #73 marked as 2/4 complete
- Updated PROJECT_CONTEXT.md: Added ChromaAberration and GaussianBlur completions
- Noted remaining effects: DistortEffect, SolarizeEffect
Diffstat (limited to 'PROJECT_CONTEXT.md')
| -rw-r--r-- | PROJECT_CONTEXT.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PROJECT_CONTEXT.md b/PROJECT_CONTEXT.md index e28319d..2e0a561 100644 --- a/PROJECT_CONTEXT.md +++ b/PROJECT_CONTEXT.md @@ -92,6 +92,12 @@ Style: - **Shader Parametrization System** (February 8) - Full uniform parameter system with .seq syntax support. FlashEffect now supports dynamic color/decay parameters computed per-frame. Critical WGSL alignment bugfix (vec3 = 16-byte aligned). Size: ~400-500 bytes. See `doc/COMPLETED.md` for details. +- **Extended Shader Parametrization** (February 8) - Task #73 (2/4 effects complete): + - ChromaAberrationEffect: Added offset_scale and angle parameters (diagonal/vertical aberration modes) + - GaussianBlurEffect: Added strength parameter (configurable blur radius) + - Both effects follow FlashEffect pattern (UniformHelper, params struct, .seq syntax) + - Size: ~200-300 bytes per effect + - **WGSL Shader Composability** - Extracted common utilities to `math/common_utils.wgsl`: - `transform_normal()` - 2 call sites (renderer_3d, mesh_render) - `spherical_uv()` / `spherical_uv_from_dir()` - 8 call sites (renderer_3d, skybox) |
