|
|
@ -1,8 +1,10 @@ |
|
|
#define EPSILON 1.192e-07f |
|
|
#define EPSILON 1.192e-07f |
|
|
|
|
|
|
|
|
|
|
|
#if UNITY_UV_STARTS_AT_TOP |
|
|
#define REQUEST_NDC_Y_UP |
|
|
#define REQUEST_NDC_Y_UP |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#ifdef UNITY_REVERSED_Z |
|
|
|
|
|
|
|
|
#if UNITY_REVERSED_Z |
|
|
#define DEPTH_NEAREST(a, b) max((a), (b)) |
|
|
#define DEPTH_NEAREST(a, b) max((a), (b)) |
|
|
#define DEPTH_CLIP(depth) ((depth) > 1.0e-05f) |
|
|
#define DEPTH_CLIP(depth) ((depth) > 1.0e-05f) |
|
|
#else |
|
|
#else |
|
|
|