CILenticularHaloGenerator - emcconville/cif GitHub Wiki

CILenticularHaloGenerator

Simulates a halo that is generated by the diffraction associated with the spread of a lens. This filter is typically applied to another image to simulate lens flares and similar effects.

  • -inputTime <number> : The duration of the effect. [Default 0]
  • -inputColor <color> : A color. [Default #FFE5CC]
  • -inputStriationStrength <number> : The intensity of the halo colors. Larger values are more intense. [Default 0.5]
  • -inputHaloOverlap <number> : [Default 0.77]
  • -inputCenter <vector> : The x and y position to use as the center of the halo. [Default 150,150]
  • -inputStriationContrast <number> : The contrast of the halo colors. Larger values are higher contrast. [Default 1]
  • -inputHaloRadius <number> : The radius of the halo. [Default 70]
  • -inputHaloWidth <number> : The width if the halo, from its inner radius to its outer radius. [Default 87]