summaryrefslogtreecommitdiff
path: root/src/effects/ntsc_effect.h
blob: d8624ea1e7b2e90433cc098d562b8079b0bf611c (plain)
1
2
3
4
5
6
7
8
9
10
11
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) {}
};