summaryrefslogtreecommitdiff
path: root/src/shaders/math/color_c64.wgsl
AgeCommit message (Collapse)Author
12 dayschange dither_c64() signature to take 'dimension' directlyskal
12 daysrotating_cube: use VSOut, and store to yiqskal
14 daysrefactor: mv get_border_col() to color_c64.wgsl as get_border_c64()skal
14 daysrefactor: extract YIQ and C64 dither to common WGSL shadersskal
- 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