diff --git a/TheForceEngine/Shaders/gpu_render_sprite.frag b/TheForceEngine/Shaders/gpu_render_sprite.frag index cfa711c4d..a6a4b0269 100644 --- a/TheForceEngine/Shaders/gpu_render_sprite.frag +++ b/TheForceEngine/Shaders/gpu_render_sprite.frag @@ -64,7 +64,17 @@ void main() // if (discardPixel(baseColor, LightData.w)) { discard; } // Either discard very close to the iso-value or // do a two-pass filter - close cut with depth-write + alpha blend without depth-write. - if (baseColor.a < 0.48 && LightData.w < 1.0) { discard; } + #ifdef OPT_TRUE_COLOR + if (baseColor.a < 0.48 && LightData.w < 1.0) + { + discard; + } + #else + if (baseColor < 0.5 && LightData.w < 1.0) + { + discard; + } + #endif // Get the emissive factor (0 = normal, 1 = 100% fullbright). #ifdef OPT_TRUE_COLOR diff --git a/TheForceEngine/gitVersion.h b/TheForceEngine/gitVersion.h index 3338570b5..d9e27fa8f 100644 --- a/TheForceEngine/gitVersion.h +++ b/TheForceEngine/gitVersion.h @@ -1,3 +1,3 @@ const char c_gitVersion[] = R"( -v1.09.512 +v1.09.520 )";