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)
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)