Depth to World Position

Thanks!
That was exactly it.

For others who might be interested in the answer, the code I’m using is:

WorldPosition = CameraPosition + CameraVector * CustomDepth.r / dot(CameraVector, CameraDirectionVector)

6 Likes