-
Dan Ebberts Light Fall Off expression problem…
decay = .005; noFalloff = 200; L = thisComp.layer("Light 1"); d = length(L.transform.position,transform.position); if (d < noFalloff){ value; }else{ value/Math.exp((d - noFalloff)*decay); }I want to use Dan Ebberts Light Fall Off expression (https://www.motionscript.com/design-guide/falloff.html if you don’t know it) to add a bit more depth to a graphic sting I’m making, but when I try and use it, I get the message:
“After Effects warning: undefined is not an object.
Error occurred at line 6.
Expression disabled.”Any ideas?
Michael Lansdell
Online Editor,
Available Light Productions LtdMy system:
2 x 3 GHz Quad-Core Intel Xeon
5GB DDR2 RAM
512MB ATI Radeon X1900 XT
OS X 10.4.11
Final Cut Pro 6.0.4
Blackmagic Design DeckLink HD Extreme (6.6.2)