-
Camera to affect a layer’s Gaussian Blur and Opacity
Hey guys,
I’m having an issue with creating an expression for a camera to be able to affect a certain layer to activate gaussian blur and opacity when it’s about 50-60 pixels away. I thought of defining the difference of distance of the camera on z and the layer itself as a variable, then making an if conditional for this variable. The camera will be animated, but if it’s just 60 pixels away from each other then the if conditional will work. I tried to put it into words but if anyone can help me out, please do!Basically;
variable = distance of camera on z – distance of layer on z
if variable = 60, activate gaussian blur and opacity,
else no gaussian blur and opacityThank you!
Nadya