This is the Unity code, I would like to use this Unity Code for Unreal Engine Material Editor.
It seems like the sceneDepth itself, is not linearized. How would I be able to make this? or any suggestion would be super appreciated