Lens Flare on 3D Lights?

After Effects lights can be moved around in 3D space but a lens flare effect can only move in 2D space on the X and Y axis. So how can you add a 2d lens flare to a 3D moving light?

The secret is using a simple expression on the “Flare Center” of the lens effect.

1. Alt Click on Flare Center stop watch to add expression

2. Type this in the expression box:

thisComp.layer(“Light 1“).toComp([0,0,0]);

NOTE: Just change “Light 1” to the name of your light.

This tip can be found in the bump map tutorial around 6:15 for those who would like to see it in action. View Tutorial

Dan Ebberts has an ever useful “3D Lens Flare” case study on his website that includes distance falloff. Check that out.

Here is an anamorphic lens flare project too.

POSTED:
9 years ago
RECENT POSTS
Live Presentations and NAB Sale!
This week I’ll be in Las Vegas for NAB 2018 and Adobe is going to be broadcasting the presentations LIVE! Be sure to follow us on Twitter or Instagram for the links! If you are at the show, be sure to stop by the Adobe booth! LIVE Presentations: Monday & Tuesday at 2PM! PST NAB […]
New Tutorial: Cinematic Title Design: Fantasy FX!
In this exciting new Tutorial Series, we’ll learn how to create this cinematic title all inside of After Effects! This procedural effect can be customized with any logo and even reacts to environment lighting! This tutorial is jammed-packed with ways to customize the Bevel and create endless variations! Watch on youtube in HD! Download Free […]
Cinematic Titles Tutorial Teaser!
One step closer! Here is what we will be creating in the new tutorial series! Of all the tutorials I’ve made, this one has evolved the most from it’s conception (several months ago) and has even surprised me at how far it could go! Especially with the cracks and growing moss…. Many strange tricks went […]
The One-Two Punch!
“Everyone has a plan until they get punched in the mouth!” Alright! I blew my deadline! But I’m on it!!! I was feeling TOO good, too confident and thought I could get these two tutorials done faster! But alas it is only a day or two away! I promise awesome useful tips! My pencils down […]
PLUG-INS