From ad9ee515d162d2aa23b64263e043d45add95615f Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 7 Mar 2026 20:03:30 +0100 Subject: feat(effects): add Ntsc post-process effect with fisheye distortion WGSL-only WgslEffect implementing barrel/fisheye distortion, RGB chroma separation, scanlines, per-pixel temporal noise, rolling jitter line, vignette, and warm NTSC phosphor tint. Applied across all main sequences. handoff(Gemini): Ntsc effect added; 13 effects total, 35+1 tests expected. Co-Authored-By: Claude Sonnet 4.6 --- src/effects/ntsc_effect.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/effects/ntsc_effect.h (limited to 'src/effects/ntsc_effect.h') diff --git a/src/effects/ntsc_effect.h b/src/effects/ntsc_effect.h new file mode 100644 index 0000000..d8624ea --- /dev/null +++ b/src/effects/ntsc_effect.h @@ -0,0 +1,12 @@ +// NTSC post-process effect with fisheye distortion +#pragma once +#include "effects/shaders.h" +#include "gpu/wgsl_effect.h" + +struct Ntsc : public WgslEffect { + Ntsc(const GpuContext& ctx, const std::vector& inputs, + const std::vector& outputs, float start_time, + float end_time) + : WgslEffect(ctx, inputs, outputs, start_time, end_time, + ntsc_shader_wgsl) {} +}; -- cgit v1.2.3