Changed alpha threshold to epsilon

This commit is contained in:
Lwmte 2025-02-27 23:51:55 +01:00
parent 9b6424f2d5
commit eff0f4d363

View file

@ -34,7 +34,7 @@ constexpr auto MAX_TRANSPARENT_VERTICES = MAX_TRANSPARENT_FACES * 6;
constexpr auto MAX_TRANSPARENT_FACES_PER_ROOM = 16384; constexpr auto MAX_TRANSPARENT_FACES_PER_ROOM = 16384;
constexpr auto TRANSPARENT_BUCKET_SIZE = 3840 * 16; constexpr auto TRANSPARENT_BUCKET_SIZE = 3840 * 16;
constexpr auto ALPHA_TEST_THRESHOLD = 0.5f; constexpr auto ALPHA_TEST_THRESHOLD = 0.5f;
constexpr auto ALPHA_BLEND_THRESHOLD = 0.95f; constexpr auto ALPHA_BLEND_THRESHOLD = 1.0f - EPSILON;
constexpr auto FAST_ALPHA_BLEND_THRESHOLD = 0.5f; constexpr auto FAST_ALPHA_BLEND_THRESHOLD = 0.5f;
constexpr auto MAX_BONES = 32; constexpr auto MAX_BONES = 32;