-
Making Light Disappear & Reappear Behind Objects Using Expressions
This is the expression I have on the flare brightness.
target = thisComp.layer(“cloudswithalpha”);
x = target.sampleImage(thisComp.layer(“Null 1”).transform.position, [3.5,3.5], true, time);
alpha = x[3] * 100;
linear(alpha, 0, 36, 80, 20)Layers-
Comps- cloudsprecomp,cloudswithflare
Solids-cloudswithalpha,lensflare,Null 1, sky