From 8c7a340582134f0c625b5413fdebb9b5fec7a2f6 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Tue, 12 Nov 2019 20:08:10 -0800 Subject: [PATCH] Fixed issue where DARKEN wasn't multiplying alpha value --- android/assets/shaders/indexpalette3.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/assets/shaders/indexpalette3.frag b/android/assets/shaders/indexpalette3.frag index 64665902..2a6b1fc5 100644 --- a/android/assets/shaders/indexpalette3.frag +++ b/android/assets/shaders/indexpalette3.frag @@ -94,7 +94,7 @@ void main() { // Same as 8, except darker } else if (blendMode == 10) { if (color.a > 0.0) { - color.rgb *= tint.rgb; + color.rgba *= tint.rgba; } }