We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3622998 commit a40f046Copy full SHA for a40f046
TheForceEngine/Shaders/gpu_render_sprite.frag
@@ -64,7 +64,17 @@ void main()
64
// if (discardPixel(baseColor, LightData.w)) { discard; }
65
// Either discard very close to the iso-value or
66
// do a two-pass filter - close cut with depth-write + alpha blend without depth-write.
67
- if (baseColor.a < 0.48 && LightData.w < 1.0) { discard; }
+ #ifdef OPT_TRUE_COLOR
68
+ if (baseColor.a < 0.48 && LightData.w < 1.0)
69
+ {
70
+ discard;
71
+ }
72
+ #else
73
+ if (baseColor < 0.5 && LightData.w < 1.0)
74
75
76
77
+ #endif
78
79
// Get the emissive factor (0 = normal, 1 = 100% fullbright).
80
#ifdef OPT_TRUE_COLOR
TheForceEngine/gitVersion.h
@@ -1,3 +1,3 @@
1
const char c_gitVersion[] = R"(
2
-v1.09.512
+v1.09.520
3
)";
0 commit comments