summaryrefslogtreecommitdiff
path: root/src/effects/scene2_effect.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-03-09 08:44:09 +0100
committerskal <pascal.massimino@gmail.com>2026-03-09 08:44:09 +0100
commit9f53f8cbeb599dafc57ed80193b79e2c48700376 (patch)
tree7249c1108feeceaaee49358efa3114a96d30f8af /src/effects/scene2_effect.cc
parentcc13cf590ae524b509486d26029a9cc949a5d404 (diff)
refactor: extract YIQ and C64 dither to common WGSL shaders
- math/color.wgsl: add rgba_to_yiqa, yiqa_to_rgba, rgba_to_luma_chroma_phase - math/color_c64.wgsl: new file with C64 palette, Bayer 8x8, Dither() - ntsc.wgsl: include both, remove local duplicates; Dither() now takes xsize/ysize handoff(Claude): YIQ/dither helpers now reusable by other effects
Diffstat (limited to 'src/effects/scene2_effect.cc')
0 files changed, 0 insertions, 0 deletions