Changed turret outlines / Wall block tweaks

This commit is contained in:
Anuken
2019-06-06 21:18:54 -04:00
parent 895b46307a
commit aee800ab7a
34 changed files with 6966 additions and 6813 deletions
+2 -3
View File
@@ -41,15 +41,14 @@ void main() {
vec2 v = vec2(1.0/u_texsize.x, 1.0/u_texsize.y);
vec4 c = texture2D(u_texture, v_texCoord.xy);
bool outl = cont(t, v);
if(1.0-abs(coords.x - 0.5)*2.0 < 1.0-u_progress && !outl){
if(1.0-abs(coords.x - 0.5)*2.0 < 1.0-u_progress){
c = vec4(0.0);
}
if(c.a > 0.01){
float f = abs(sin(coords.x*2.0 + u_time));
if(f > 0.9 || outl)
if(f > 0.9)
f = 1.0;
else
f = 0.0;