motion graphics eXchange
top

Modulate the intensity of Lens Flare based on an obscuration layer

Thumbnail for: Modulate the intensity of Lens Flare based on an obscuration layer
With this preset you can cause the opacity of a layer to control the brightness of a "Lens Flare".
After Effects CS3
Lights
Presets (ffx)

Views: 5126
Permalink
download |  share this  error? 
Typically, the only not very useful way to get a "Lens Flare" to seem like it's disappearing behind any object were to keyframe the brightness values over and over.
Now, with this preset based on sampleImage() you can choose an "obscuration" layer. Based on it's alpha values the intensity(brightness) of the "Lens Flare" is automatically controlled.
Including an "AlphaThreshold" for the "obscuration" layer and a "BrightnessMinMax" for the "Lens Flare".

Here is the basic expression, if you need it "clean".
target = thisComp.layer("obscuration"); // name of the "obscuration" layer
alpha = target.sampleImage(effect("Lens Flare")("Flare Center"),[3.5, 3.5])[3];
linear(alpha, 0, 0.36, 80, 10);
Otherwise get the preset and you're done ;)

Effects & Plugins

Lens Flare, Slider & Point Controls

(Min. Version: After Effects CS3, Category: Lights, Type: Presets (ffx))
posted by mmo on Feb 20, 2009

 

Related topics:

distributing layers in a cylinder using expressions

Thumbnail for: distributing layers in a cylinder using expressions
This expression is customizable, and you can change many things including: the radius of the cylinder, the overall rotation of the cylinder, the spacing vertical spacing between rows of the cylinder, and the amount of layer on each level of the cylinder.
After Effects 7
Useful things
Expressions

Views: 5082
Permalink
posted by MicGyver on Sep 08, 2008

Reviving AE Lens Flares with Trapcode Shine

Thumbnail for: Reviving AE Lens Flares with Trapcode Shine
Motion designer Harry Frank shows how to breath new life or make a retro look with standard After Effects Lens Flare by using Shape Layers and Trapcode Shine.
After Effects CS3
Lights
Tips'n Tricks

Views: 5215
Permalink
posted by vfx007 on Mar 04, 2009

3D lens flare follows light

Thumbnail for: 3D lens flare follows light
A practical application of a layer space transform.
Not very new, but still very useful.
by Dan Ebberts's resource for After Effects scripting and expressions
After Effects 7 Pro
Lights
Expressions

Views: 13977
Permalink
posted by MaxX on Apr 19, 2009


 

 

follow us on http://twitter.com/mgxchangegoogle+get in touch on facebook

 

 

Full length video training series presented by motion graphics industry professionals. Click here to visit Motionworks website!