Shader cleanup

This commit is contained in:
Anuken
2019-02-26 13:11:49 -05:00
parent 0cb14461ba
commit 964d1a0d87
36 changed files with 1344 additions and 2321 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ void main() {
vec4 c = texture2D(u_texture, v_texCoord.xy);
c = mix(c, vec4(u_color.r, u_color.g, u_color.b, c.a), v_color.a);
c = mix(c, vec4(u_color.rgb, c.a), v_color.a);
gl_FragColor = c * vec4(v_color.rgb, 1.0);
}