Added ground unit factory support

This commit is contained in:
Anuken
2018-03-25 23:49:40 -04:00
parent d6cd197435
commit 203e4bc0a4
12 changed files with 396 additions and 305 deletions

View File

@@ -46,7 +46,7 @@ void main() {
f = 1.0;
else
f = 0.0;
c = mix(c, u_color, f);
c = mix(c, u_color, f * u_color.a);
}
gl_FragColor = c * v_color;