-
Dan Ebberts Light Falloff & Digieffect Light Falloff Plug-in
Hi,
I downloaded a trial version of the Digieffects light falloff plug-in (https://www.digieffects.com/product/falloff_lighting) and played around with it but was not entirely satisfied with the results (I am new to After Effects so it could be me in the way I set up the layers and I may be looking for something that is not fully possible in AE).
I wanted to compare it with the expression that Dan Ebberts wrote for light falloff utilizing the Diffuse & Specular material properties https://www.motionscript.com/design-guide/falloff.html, and I was wondering if anyone knows how to adapt this expression for more than one light in a scene – it is completely beyond my very basic knowledge of expressions.
Any help, guidance and input would be great.
Many thanks
Chris
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);
}