|
|
|
|
|
|
float depthBias = params.z; |
|
|
|
float bpp16 = params.w; |
|
|
|
#if UNITY_REVERSED_Z |
|
|
|
float depth = (1.0 - tcs.z) + depthBias; |
|
|
|
float depth = (1.0 - tcs.z) - depthBias; |
|
|
|
#else |
|
|
|
float depth = tcs.z + depthBias; |
|
|
|
#endif |
|
|
|
|
|
|
float depthBias = params.z; |
|
|
|
float bpp16 = params.w; |
|
|
|
#if UNITY_REVERSED_Z |
|
|
|
float depth = (1.0 - tcs.z) + depthBias; |
|
|
|
float depth = (1.0 - tcs.z) - depthBias; |
|
|
|
#else |
|
|
|
float depth = tcs.z + depthBias; |
|
|
|
#endif |
|
|
|