I want to composite 2d elements in a 3d scene. To do this I can use the mist pass to mask objects that are in front of the 2d elements in compositing. This works great unless the camera is moving in which case the mist pass moves.
A way to solve this is to animate the mist pass in the world settings, but this seems to require a bit of guesswork as you can’t see the in and outs from the viewport.
My question is:
Is it possible to have a mist pass that is stationary in the world (i.e doesn’t change with camera distance)?
Maybe world position can do the same thing?
Any help would be great