Sapphire Plug-ins for AVX2: LightLeak

S_LightLeak

Renders abstract patterns of color that simulate light leaking through gaps in a camera body. The light leak consists of three distinct elements which can be adjusted individually.

In the Sapphire Lighting category.


Inputs:

Source: The current track. The clip to be processed.

Background: Optional. The clip to use as background. The output of the effect is composited over this clip.

Mask: Optional. Interpolate between the result and the Source input. White areas use the result of the effect. Black areas use the Source clip.

Parameters:

Load Preset: Push-button .
Brings up the Preset Browser to browse all available presets for this effect.

Save Preset: Push-button .
Brings up the Preset Save dialog to save a preset for this effect.

Mocha: Default: 0, Range: 0 or greater.
Brings up the Mocha window for tracking footage and generating masks.

Blur Mocha: Default: 0, Range: any.
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.

Mocha Opacity: Default: 1, Range: 0 to 1.
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.

Invert Mocha: Check-box,  Default: off.
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.

Resize Mocha: Default: 1, Range: 0 to 2.
Scales the Mocha Mask. 1.0 is the original size.

Resize Rel X: Default: 1, Range: 0 to 2.
The relative horizontal size of the Mocha Mask.

Resize Rel Y: Default: 1, Range: 0 to 2.
The relative vertical size of the Mocha Mask.

Shift Mocha: X & Y,  Default: screen center.
Offsets the position of the Mocha Mask.

Bypass Mocha: Check-box,  Default: off.
Ignore the Mocha Mask and apply the effect to the entire source clip.

Show Mocha Only: Check-box,  Default: off.
Bypass the effect and show the Mocha Mask itself.

Combine Masks: Popup menu,  Default: Union .
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
Union: Uses the area covered by both masks together.
Intersect: Uses the area that overlaps between the two masks.
Mocha Only: Ignore the Input Mask and only use the Mocha Mask.

Scale Lights: Default: 1, Range: 0 or greater.
Scales the light leak by this value. Increase for a brighter result.

Offset Darks: Default: 0, Range: any.
Adds this gray value to the darker regions of the result. This can be negative to increase contrast.

Color: Default rgb: [1 1 1].
The overall color of the light leak.

Hue Shift: Default: 0, Range: -1 to 1.
Shifts the hue of the light leak, in revolutions from red to green to blue to red.

Saturation: Default: 1, Range: any.
Scales the color saturation of the light leak. Increase for more intense colors. Set to 0 for a monochrome light leak.

Gamma: Default: 1, Range: 0.1 or greater.
Increasing gamma brightens the light leak, and especially boosts the darker areas.

Speed: Default: 1, Range: 0 or greater.
Scales the speed of all elements.

Shift: X & Y,  Default: screen center.
Shifts the position of all elements.

Flicker Amp: Default: 0.2, Range: 0 or greater.
The amount of random flickering in the light leak brightness.

Flicker Freq: Default: 4, Range: 0 or greater.
The frequency of the random flickering. Increase for more variation between frames. Decrease for slower flickering.

Random Motion: Default: 0, Range: 0 or greater.
The amount of random motion of each element.

Random Frequency: Default: 4, Range: 0 or greater.
The frequency of random motion. Increase for faster, more frenetic motion. Decrease for slower, smoother motion.

Seed: Default: 0.123, Range: 0 or greater.
Used to initialize the random number generator. The actual seed value is not significant, but different seeds give different results and the same value should give a repeatable result.

Scale Source: Default: 1, Range: 0 or greater.
Scales the brightness of the background before combining with the lights. If 0, the result will contain only the light image over black.

Combine: Popup menu,  Default: Screen .
Determines how the light leak is combined with the background image.
Screen: the light leak is blended with the background using a function that helps prevent overly bright results
Add: the light leak is added to the background.
Leaks Only: the light leak is shown on its own, with no background

Affect Alpha: Default: 0, Range: 0 or greater.
If this value is positive the output Alpha channel will include some opacity from the light leak. The maximum of the red, green, and blue light leak brightness is scaled by this value and combined with the Background Alpha at each pixel.

Glow Brightness: Default: 1, Range: 0 or greater.
Scales the brightness of the glow which is applied to the entire image after combining the light leak with the background.

Glow Width: Default: 0.4, Range: any.
The width of the glow. Increase for a softer glow and decrease for a sharper, brighter glow.

Glow Threshold: Default: 0.8, Range: 0 or greater.
Parts of the image that are brighter than this value get glowed.

Element1 Parameters:

Element1 Enable: Check-box,  Default: on.
Turns this element on and off.

Size1: Default: 2, Range: 0 or greater.
Adjusts the size of this element. This parameter can be adjusted using the Size1 Widget.

Rel Height1: Default: 2, Range: 0 or greater.
Scales the vertical dimension of this element, making it elliptical instead of circular.

Brightness1: Default: 0.2, Range: 0 or greater.
Scales the brightness of this element.

Speed1: Default: 1, Range: 0 or greater.
The speed at which this element moves across the screen. Set to zero to keep the element stationary at its center position. A faster speed means the element will start and end farther from its center.

Angle1: Default: 175, Range: any.
The angle of this element's path across the screen. The element moves along a line at this angle, passing through the center position at the midpoint of the clip. This parameter can be adjusted using the Angle1 Widget.

Center1: X & Y,  Default: screen lower left.
The center point of this element's motion. The element will reach this location half way through the clip. This parameter can be adjusted using the Center1 Widget.

Outer Color1: Default rgb: [1 1 0.15].
The color at the outer edge of this element.

Mid Color1: Default rgb: [1 0.7 0.3].
The color at the midpoint of this element, between the Outer and Center Colors. The exact location depends on the Midpoint parameter.

Center Color1: Default rgb: [1 0.1 0].
The color at the center of this element.

Midpoint1: Default: 0.5, Range: 0 to 1.
Moves the location of the Mid Color between the center and outer edge of the element. Set to 0 to place the Mid Color at the center, or 1 to place it at the edge.

Softness1: Default: 0.4, Range: 0 or greater.
Blurs the color gradient of this element. Increase for a smoother gradient, or decrease for sharper bands of color.

Noise Amp1: Default: 2, Range: 0 or greater.
The amount of noise applied to this element.

Noise Freq1: Default: 1.5, Range: 0 or greater.
The frequency of the noise applied to this element. Increase for smaller blobs, or decrease for larger ones.

Noise Freq Rel Y1: Default: 1, Range: 0 or greater.
The relative vertical frequency of the noise pattern. Increase to flatten the noise, or decrease to stretch it out vertically.

Noise Detail1: Default: 0, Range: 0 to 1.
Controls the amount of fine detail in the noise simulation. Decrease to get smoother noise, increase for a more crunchy or grainy look.

Noise Boil Speed1: Default: 1, Range: 0 or greater.
Sets the speed of noise boiling or evolving as the element moves. Set to 0 for a static noise pattern.

Element2 Parameters:

Element2 Enable: Check-box,  Default: off.
Turns this element on and off.

Size2: Default: 2, Range: 0 or greater.
Adjusts the size of this element. This parameter can be adjusted using the Size2 Widget.

Rel Height2: Default: 2, Range: 0 or greater.
Scales the vertical dimension of this element, making it elliptical instead of circular.

Brightness2: Default: 1, Range: 0 or greater.
Scales the brightness of this element.

Speed2: Default: 1, Range: 0 or greater.
The speed at which this element moves across the screen. Set to zero to keep the element stationary at its center position. A faster speed means the element will start and end farther from its center.

Angle2: Default: 175, Range: any.
The angle of this element's path across the screen. The element moves along a line at this angle, passing through the center position at the midpoint of the clip. This parameter can be adjusted using the Angle2 Widget.

Center2: X & Y,  Default: screen lower left.
The center point of this element's motion. The element will reach this location half way through the clip. This parameter can be adjusted using the Center2 Widget.

Outer Color2: Default rgb: [0.25 0.15 0.1].
The color at the outer edge of this element.

Mid Color2: Default rgb: [0.7 0.12 0.22].
The color at the midpoint of this element, between the Outer and Center Colors. The exact location depends on the Midpoint parameter.

Center Color2: Default rgb: [1 1 1].
The color at the center of this element.

Midpoint2: Default: 0.5, Range: 0 to 1.
Moves the location of the Mid Color between the center and outer edge of the element. Set to 0 to place the Mid Color at the center, or 1 to place it at the edge.

Softness2: Default: 0.4, Range: 0 or greater.
Blurs the color gradient of this element. Increase for a smoother gradient, or decrease for sharper bands of color.

Noise Amp2: Default: 1, Range: 0 or greater.
The amount of noise applied to this element.

Noise Freq2: Default: 3, Range: 0 or greater.
The frequency of the noise applied to this element. Increase for smaller blobs, or decrease for larger ones.

Noise Freq Rel Y2: Default: 1, Range: 0 or greater.
The relative vertical frequency of the noise pattern. Increase to flatten the noise, or decrease to stretch it out vertically.

Noise Detail2: Default: 0, Range: 0 to 1.
Controls the amount of fine detail in the noise simulation. Decrease to get smoother noise, increase for a more crunchy or grainy look.

Noise Boil Speed2: Default: 0, Range: 0 or greater.
Sets the speed of noise boiling or evolving as the element moves. Set to 0 for a static noise pattern.

Element3 Parameters:

Element3 Enable: Check-box,  Default: off.
Turns this element on and off.

Size3: Default: 0.25, Range: 0 or greater.
Adjusts the size of this element. This parameter can be adjusted using the Size3 Widget.

Rel Height3: Default: 1, Range: 0 or greater.
Scales the vertical dimension of this element, making it elliptical instead of circular.

Brightness3: Default: 1, Range: 0 or greater.
Scales the brightness of this element.

Speed3: Default: 1, Range: 0 or greater.
The speed at which this element moves across the screen. Set to zero to keep the element stationary at its center position. A faster speed means the element will start and end farther from its center.

Angle3: Default: 175, Range: any.
The angle of this element's path across the screen. The element moves along a line at this angle, passing through the center position at the midpoint of the clip. This parameter can be adjusted using the Angle3 Widget.

Center3: X & Y,  Default: screen lower left.
The center point of this element's motion. The element will reach this location half way through the clip. This parameter can be adjusted using the Center3 Widget.

Outer Color3: Default rgb: [0.2 0.2 0].
The color at the outer edge of this element.

Mid Color3: Default rgb: [0.55 0.4 0].
The color at the midpoint of this element, between the Outer and Center Colors. The exact location depends on the Midpoint parameter.

Center Color3: Default rgb: [1 0.7 0].
The color at the center of this element.

Midpoint3: Default: 0.5, Range: 0 to 1.
Moves the location of the Mid Color between the center and outer edge of the element. Set to 0 to place the Mid Color at the center, or 1 to place it at the edge.

Softness3: Default: 0.4, Range: 0 or greater.
Blurs the color gradient of this element. Increase for a smoother gradient, or decrease for sharper bands of color.

Noise Amp3: Default: 0.5, Range: 0 or greater.
The amount of noise applied to this element.

Noise Freq3: Default: 1, Range: 0 or greater.
The frequency of the noise applied to this element. Increase for smaller blobs, or decrease for larger ones.

Noise Freq Rel Y3: Default: 1, Range: 0 or greater.
The relative vertical frequency of the noise pattern. Increase to flatten the noise, or decrease to stretch it out vertically.

Noise Detail3: Default: 0, Range: 0 to 1.
Controls the amount of fine detail in the noise simulation. Decrease to get smoother noise, increase for a more crunchy or grainy look.

Noise Boil Speed3: Default: 0, Range: 0 or greater.
Sets the speed of noise boiling or evolving as the element moves. Set to 0 for a static noise pattern.

Mask Use: Popup menu,  Default: Luma .
Determines how the Mask input channels are used to make a monochrome mask.
Luma: the luminance of the RGB channels is used.
Alpha: only the Alpha channel is used, or if there is no valid Alpha channel the Red channel is used.

Blur Mask: Default: 0.05, Range: any.
Blurs the Mask input by this amount before using. This can provide a smoother transition between the masked and unmasked areas. It has no effect unless the Mask input is provided.

Invert Mask: Check-box,  Default: off.
If on, inverts the mask input so the effect is applied to areas where the Mask is black instead of white. This has no effect unless the Mask input is provided.
See general info for: Apply To Title/Key , Crop/Transform , Resolution , Clamp Output To Legal , Bypass Effect , and Reset .


See Also:

LensFlare
Glint
Glare
Sapphire Plug-ins Introduction

List all effects with pictures

List all effects by name

List all effects with a brief summary

General User Info
What's New In This Version
Compatibility Notes
Loading a Plug-in
Color Management with OpenColorIO
Loading and Saving Presets
Designing Lens Flares and Glares
Using the Sapphire Effect Builder
Using Mocha in Sapphire
Resetting Parameters to Defaults
Online Documentation
About GPU Acceleration
About Motion Blur
About Matte Inputs
About Alpha Processing
About Angle Parameters
About Pixel Aspect Ratios
Customizing Plug-ins
Known Problems
3rd Party Licenses

Glow Effects
Glow
GlowAura
GlowDarks
GlowDist
GlowEdges
GlowNoise
GlowOrthicon
GlowRainbow
GlowRings
UltraGlow
ZGlow
Light Beams
Rays
EdgeRays
Streaks

LensFlares
LensFlare
LensFlareAutoTrack
LightLeak
Glints & Glares
Glint
GlintRainbow
Glare

Other Lighting
BokehLights
DropShadow
Flashbulbs
Light3D
SpotLight

AutoPaint & HalfTone
AutoPaint
Sketch
Etching
Brush:Oil
Brush:Chalk
Crosshatch
Cartoon
CartoonPaint
Posterize
HalfTone
HalfToneColor
HalfToneRings

Kaleidoscopes
Kaleido:Triangles
Kaleido:Squares
Kaleido:Diamonds
Kaleido:Oct
KaleidoPolar
KaleidoRadial
FlysEyeCircles
FlysEyeHex
FlysEyeRect
TileScramble
Film Effects & Grain
FilmEffect
FilmDamage
Vignette
BleachBypass
Grain
GrainStatic
UltraGrain
Diffuse
VintageColor2Strip
VintageColor3Strip

Edge Effects
EdgeDetect
EdgeDetectDouble
EdgesInDirection
EdgeColorize

Embossing
Emboss
EmbossShiny
EmbossDistort
EmbossGlass
Other Stylize
BandPass
ColorFuse
DogVision
DigitalDamage
JpegDamage
TVDamage
Grunge
Mosaic
PixelSort
PseudoColor
PsykoBlobs
PsykoStripes
PrismLens
RomanTile
ScanLines
ScanLinesMono
Solarize
StripSlide
Zebrafy
ZebrafyColor
ZFogExponential
ZFogLinear

Adjust
ChannelSwitcher
ClampChroma
DuoTone
Gamma
Hotspots
HueSatBright
Invert
Monochrome
OCIOTransform
QuadTone
Threshold
Tint
TriTone
ShowBadColors

Composite
EdgeFlash
Layer
MathOps
MatteOps
MatteOpsComp
ZComp
Blur+Sharpen
Beauty
Blur
BlurChannels
BlurChroma
BlurDirectional
BlurMoCurves
BlurMotion
DefocusPrism
Convolve
ConvolveComp
Deband
EdgeBlur
EdgeAwareBlur
FreeLens
GrainRemove
Median
RackDefocus
RackDfComp
Sharpen
SoftFocus
ZConvolve
ZDefocus
ZBlur

Distort Effects
Distort
DistortBlur
DistortChroma
DistortRGB
Warps & Shake
InfiniteZoom
ParallaxStrips
WarpBubble
WarpBubble2
WarpChroma
WarpCornerPin
WarpDrops
WarpFishEye
WarpMagnify
WarpPerspective
WarpPolar
WarpPuddle
WarpPuff
WarpRepeat
WarpTransform
WarpVortex
WarpWaves
WarpWaves2
Shake
StretchFrameEdges

Lightning Zaps
UltraZap
Zap
ZapTo
ZapFrom

Gradients, Grid & Shape
Gradient
GradientMulti
GradientRadial
Grid
Shape

Procedural Textures
Caustics
Sparkles
SparklesColor
TextureCells
TextureChromaSpiral
TextureFlux
TextureFolded
TextureLoops
TextureMicro
TextureMoire
TextureNeurons
TextureNoiseEmboss
TextureNoisePaint
TexturePlasma
TextureSpots
TextureTiles
TextureWeave

Fractal Clouds
Clouds
CloudsColorSmooth
CloudsMultColor
CloudsPerspective
CloudsPsyko
CloudsVortex
Other Render
Aurora
LaserBeam
Luna
MuzzleFlash
NightSky
Time Effects
CutToDissolve
Feedback
FeedbackBubble
FeedbackDistort
FieldRemove
FreezeFrame
GetFrame
JitterFrames
MotionDetect
NearestColor
RandomEdits
RepairFrames
Retime
ReverseClip
ReverseEdits
TimeAverage
TimeDisplace
TimeSlice
TimeWarpRGB
Trails
TrailsDiffuse

Flicker Tools
Flicker
FlickerMatch
FlickerMatchColor
FlickerMatchMatte
FlickerMchMatteColor
FlickerRemove
FlickerRemoveColor
FlickerRemoveMatte
FlickerRmMatteColor

Effect Builder
Effect
Transition
Dissolve Transitions
Dissolve
DissolveAutoPaint
DissolveBlur
DissolveBubble
DissolveDefocus
DissolveDiffuse
DissolveDigitalDamage
DissolveDistort
DissolveEdgeRays
DissolveFilm
DissolveFlashbulbs
DissolveGlare
DissolveGlint
DissolveGlintRainbow
DissolveGlow
DissolveLensFlare
DissolveLuma
DissolvePixelSort
DissolvePuddle
DissolveRays
DissolveShake
DissolveSpeckle
DissolveStatic
DissolveTiles
DissolveUltraGlow
DissolveVortex
DissolveWaves
DissolveZap

Wipe Transitions
WipeBlobs
WipeBubble
WipeCells
WipeChecker
WipeCircle
WipeClock
WipeClouds
WipeDiffuse
WipeDots
WipeDoubleWedge
WipeFlux
WipeFourWedges
WipeLine
WipePixelate
WipeRectangle
WipeRings
WipeStar
WipeStripes
WipeTiles
WipeWedge
WipePlasma
WipePointalize
WipeWeave
WipeMoire
SwishPan
Swish3D

Other Transitions
CardFlip
FilmRoll
FlutterCut
HyperPull
HyperPush
ParallaxStripsTransition
StripSlideTransition
SwishPan
Swish3D
TVChannelChange WhipLash