Balancing / Bugfixes / Decreased build duration slightly

This commit is contained in:
Anuken
2019-03-28 14:38:00 -04:00
parent fd190c7770
commit e6a24b8ba1
9 changed files with 19 additions and 21 deletions

View File

@@ -8,8 +8,7 @@ uniform sampler2D u_texture;
varying vec4 v_color;
varying vec2 v_texCoord;
void main() {
void main(){
vec4 color = texture2D(u_texture, v_texCoord.xy);
color = vec4(0.0, 0.0, 0.0, 1.0 - color.r);
gl_FragColor = color;
gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0 - color.r);
}