Add Film gate, a video effect of film running through a projector
Film grain's field moves to effects/grain_field.hpp so both share it; Film grain renders exactly as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2110,6 +2110,11 @@ int main() {
|
||||
{"flow", {{"flow_mode", std::string("swirl")}}, {}, {{"flow_strength", 0L}}},
|
||||
{"sweep", {{"sweep_reverse", true}, {"sweep_max_run", 20L}}, {},
|
||||
{{"sweep_line_chance", 0.0}}},
|
||||
{"filmgate", {{"gate_weave", 6L}, {"gate_dust", 20L}, {"gate_scratches", 3L}},
|
||||
{{"gate_weave", 6L}, {"gate_grain", 0.0}, {"gate_flicker", 0.0}, {"gate_dust", 0L},
|
||||
{"gate_scratches", 0L}},
|
||||
{{"gate_weave", 0L}, {"gate_grain", 0.0}, {"gate_flicker", 0.0}, {"gate_dust", 0L},
|
||||
{"gate_scratches", 0L}}},
|
||||
};
|
||||
for (const auto& [name, lively, smooth, off] : moving) {
|
||||
const auto effect = effectByName(name);
|
||||
|
||||
Reference in New Issue
Block a user