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:
8 years ago
RECENT POSTS
New Tutorial: Advanced Electric FX! 100% AE
In this 3-in-1 Tutorial we get the high-voltage action! This massive 56 min tutorial has so many tips and tricks you are sure to learn something new! Techniques: Direction Lightning Movement Dynamic Reflections with realistic falloff Sub Surface Illuminated Clouds Interactive Lightning bolts Nice Soft Glow recipe No extra Plug-ins needed! 100% After Effects! Project files […]
Where are the Tutorials! + NAB 2017!
Yo Andrew! Where are all the Tutorials!?! A reasonable question actually. I don’t have a simple answer but maybe I can share a bit of my process with you. This year I’ve been working on a bunch of amazing content for Video Copilot! My goal was to dig deep into default plug-ins and try to […]
I'm Sorry Shape Layers! I love you!
I must confess… I was never a big fan of shape layers…  we just didn’t get along.  I was used to using masks but suddenly (around AE CS3) the same mask tool began creating Red vector shapes. At first, they seemed cool enough but after accidentally adding shape layers to my comps, instead of masks, I lashed […]
Visualization Experiment and new Renders
Just playing around with a new After Effects experiment without using any 3rd Party plug-ins! I need to refine some parts of the effect but I really want to make a tutorial for it ASAP! Here are some other projects you may have missed! Using Element 3D bump mapping to create some Gold coins and […]
PLUG-INS