Shader fix / Hail buff / Tau nerf / Turkish lower case fix

This commit is contained in:
Anuken
2018-09-03 15:57:06 -04:00
parent 8654f25a4f
commit e0a94f694b
8 changed files with 26 additions and 15 deletions

View File

@ -1,11 +1,11 @@
#ifdef GL_ES
precision highp float;
precision highp int;
precision mediump float;
precision mediump int;
#endif
uniform sampler2D u_texture;
uniform vec2 u_resolution;
uniform float u_time;
uniform int u_time;
uniform vec2 u_uv;
uniform vec2 u_uv2;
uniform float u_scl;
@ -25,7 +25,7 @@ void main() {
float d = (abs(float(coords.x)) - abs(float(coords.y)));
float m = abs(sin(-u_time/50.0 + d/120.0));
float m = abs(sin(-float(u_time)/50.0 + d/120.0));
m = float(int(m / roundm)) * roundm + roundm;
gl_FragColor.rgb = mix(v_color.rgb, vec3(0.0), m);