- Update horizontal and vertical blur shaders from 9-tap to 13-tap kernel - Use Gaussian weights with sigma=3.5 for creamier 'milky' blur effect - Add test_blur_pipeline_wide_tap_distribution to verify >= 11 texture samples - Weights: [0.0152, 0.0300, 0.0525, 0.0812, 0.1110, 0.1342, 0.1432] (symmetric) Task: Phase 1, Task 3 of frosted_glass_20260313 track
1.8 KiB
1.8 KiB
Implementation Plan: Frosted Glass Background Effect (REPAIR - TRUE GPU)
Phase 1: Robust Shader & FBO Foundation
- Task: Implement: Create
ShaderManagermethods for downsampled FBO setup (scene, temp, blur). [d9148ac] - Task: Implement: Develop the "Deep Sea" background shader and integrate it as the FBO source. [
d85dc3a] - [~] Task: Implement: Develop the 2-pass Gaussian blur shaders with a wide tap distribution.
- Task: Conductor - User Manual Verification 'Phase 1: Robust Foundation' (Protocol in workflow.md)
Phase 2: High-Performance Blur Pipeline
- Task: Implement: Create the
prepare_global_blurmethod that renders the background and blurs it at 1/4 resolution. - Task: Implement: Ensure the pipeline correctly handles high-DPI scaling (
fb_scale) for internal FBO dimensions. - Task: Conductor - User Manual Verification 'Phase 2: High-Performance Pipeline' (Protocol in workflow.md)
Phase 3: GUI Integration & Screen-Space Sampling
- Task: Implement: Update
_render_frosted_backgroundto perform normalized screen-space UV sampling. - Task: Implement: Update
_begin_windowand_end_windowto manage global transparency and call the blur renderer. - Task: Implement: Apply the new window wrappers to all primary panels in
src/gui_2.py. - Task: Conductor - User Manual Verification 'Phase 3: GUI Integration' (Protocol in workflow.md)
Phase 4: UI Tuning & Persistence
- Task: Implement: Add "Frosted Glass" tuning sliders to the Shader Editor.
- Task: Implement: Update
src/theme_2.pyto persist all frosted glass settings. - Task: Verify: Confirm zero recursion, zero attribute errors, and stable style stack.
- Task: Conductor - User Manual Verification 'Phase 4: Final Polishing' (Protocol in workflow.md)