diff options
Diffstat (limited to 'src/effects/ntsc_effect.h')
| -rw-r--r-- | src/effects/ntsc_effect.h | 12 |
1 files changed, 12 insertions, 0 deletions
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<std::string>& inputs, + const std::vector<std::string>& outputs, float start_time, + float end_time) + : WgslEffect(ctx, inputs, outputs, start_time, end_time, + ntsc_shader_wgsl) {} +}; |
