Translucent world position problem

How is this not the world position of whats behind the translucent material? Because it isn’t.

75270-worldpos1.png

Hey jgm,

You need to get the Object Position World Space to get the world space of an object placed in your scene when using scene depth.

Hey, thanks for the reply. I don’t want the world space position of an object placed in the scene. I want the world space position of the fragment behind the translucent fragment being rendered.

The issue was that the camera vector points from the fragment to the camera. Multiply the camera vector with -1 to get this working.