I’m trying to get a scene depth result that takes the object into account instead of the camera, but to do that I need to have the absolute world coordinates of all the pixels in the scene.
I have a translucent material that needs to darken things by distance, but the only thing that does that is scene depth, which ends up using the camera instead of the object itself.
Basically, I want to replace the camera vector with the world position.
example: World position(a) ScenepixelPosition(B) DoTResult