Hi guys, I don’t understand how unity calculate depth 01. Formula is described in CgInclude is :
#define COMPUTE_DEPTH_01 -(mul( UNITY_MATRIX_MV, v.vertex ).z * _ProjectionParams.w)
Why not is
#define COMPUTE_DEPTH_01 (mul( UNITY_MATRIX_MV, v.vertex ).z * _ProjectionParams.w)
without subtract.