lightAddons top-level constant

List<RenderStepAddon> const lightAddons

Every effect of the light family, the bloom before the flare that needs it.

final loop = EngineLoop(
  input: input,
  registries: <PluginRegistry>[renderer.renderSteps],
  plugins: lightAddons,
);
// From the next step boundary on, frames have no film.
loop.plugins.disable(const VignetteAndGrainAddon().id);

Implementation

const List<RenderStepAddon> lightAddons = <RenderStepAddon>[
  AutoExposureAddon(),
  LocalExposureAddon(),
  BloomAddon(),
  LensFlareAddon(),
  ColorGradeAddon(),
  LensDistortionAddon(),
  VignetteAndGrainAddon(),
];