Browse Source

Fixed issue with MODULATE_COLOR in colored shader.

sgrenier 12 years ago
parent
commit
2e9adc26c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gameplay/res/shaders/colored.frag

+ 1 - 1
gameplay/res/shaders/colored.frag

@@ -66,7 +66,7 @@ void main()
     gl_FragColor.rgb = getLitPixel();
     
 	#if defined(MODULATE_COLOR)
-    gl_FragColor.a *= u_modulateColor;
+    gl_FragColor *= u_modulateColor;
     #endif
 	#if defined(MODULATE_ALPHA)
     gl_FragColor.a *= u_modulateAlpha;