Selaa lähdekoodia

fix bug related to semi-transparent maps.

Ben Houston 10 vuotta sitten
vanhempi
commit
93517e66c7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/renderers/shaders/ShaderChunk/map_fragment.glsl

+ 1 - 1
src/renderers/shaders/ShaderChunk/map_fragment.glsl

@@ -8,6 +8,6 @@
 
 	#endif
 
-	diffuseColor.rgb *= texelColor.rgb;
+	diffuseColor *= texelColor;
 
 #endif