SceneDepth, what is my world's MaxZ ?

Hi there,

I am new to UE, and i am trying to understand how the SceneDepth node works.
I need my post process to have a normalized value of the depth (0<depth<1).

So i came up with this blueprint :

which gives me this result :

I used 10K for max Z, but that’s just a number i put there after trying lots of different values.

I originally tried 16777215 like mentioned here but everything was pitch black, so i guess my scene depth is not that big.

So my question is, how do i get my exact maxZ ? Is there a node for it, or some world setting i can check ?

Thanks !

it will always vary depending on your camera position and the position of the polygon that is furthest away and visible on screen. this will usually be your skydome, but doesn’t necessarily have to be.