diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 17:43:44 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 17:43:44 +0100 |
| commit | 4b23fdc63d422b31b6ad86d34218e7b66b462514 (patch) | |
| tree | 028e4fec0d49a7a3a997bd446c9f1ce480ce787b /doc/PEAK_FIX_SUMMARY.md | |
| parent | 8296fe5180b979b9d1f32f6375b41f0e0a8a399d (diff) | |
feat(gpu): Add parameter-driven GaussianBlurEffect
Extends shader parametrization system to GaussianBlurEffect with
strength parameter (Task #73 continued).
Changes:
- Added GaussianBlurParams struct (strength, default: 2.0f)
- Added GaussianBlurUniforms with proper WGSL alignment (32 bytes)
- Updated shader to use parameterized strength instead of hardcoded 2.0
- Extended seq_compiler to parse strength parameter
- Updated demo.seq with 2 parameterized instances:
* Line 38: strength=3.0 (stronger blur for particles)
* Line 48: strength=1.5 (subtle blur)
Technical details:
- Backward-compatible default constructor maintained
- Migrated from raw buffer to UniformBuffer<GaussianBlurUniforms>
- Shader replaces 'let base_size = 2.0' with 'uniforms.strength'
- Generated code creates GaussianBlurParams initialization
Testing:
- All 32/32 tests pass
- Demo runs without errors
- Generated code verified correct
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'doc/PEAK_FIX_SUMMARY.md')
0 files changed, 0 insertions, 0 deletions
