Sure. For reference, here’s the expression again
startFade = 1000;
endFade = 2000;
d = position[2] – thisComp.layer(“Camera 1”).position[2];
linear(d,startFade,endFade,100,0)
The first two lines just set the z distance from the camera for the fade to start and end. The third line calculates the z distance from the camera.
In English, the forth line just says “as d varies from 1000 to 2000, ramp opacity from 100 to 0”. At distances less than 1000 the opacity will be 100 at distances greater than 2000 the opacity will be 0.
Instead of linear() you could try easeIn() and easeOut()
Hope that helps.
Dan