More drone changes

This commit is contained in:
Anuken
2019-06-14 21:06:58 -04:00
parent 89b3d3b670
commit 910dab1896
15 changed files with 44 additions and 20 deletions

View File

@@ -43,9 +43,11 @@ void main() {
vec4 c = texture2D(u_texture, v_texCoord.xy);
if(1.0-abs(coords.x - 0.5)*2.0 < 1.0-u_progress){
c = vec4(0.0);
// c = vec4(0.0);
}
c.a *= u_progress;
if(c.a > 0.01){
float f = abs(sin(coords.x*2.0 + u_time));
if(f > 0.9)