Tweak layer depth distribution (#3738)
This commit is contained in:
@@ -130,7 +130,7 @@ public:
|
||||
#if MLN_RENDER_BACKEND_OPENGL
|
||||
static constexpr float depthEpsilon = 1.0f / (1 << 16);
|
||||
#else
|
||||
static constexpr float depthEpsilon = 1.0f / (1 << 12);
|
||||
static constexpr float depthEpsilon = 1.0f / (1 << 11);
|
||||
#endif
|
||||
static constexpr int maxStencilValue = 255;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user