Costs for unit research

This commit is contained in:
Anuken
2020-09-19 14:11:48 -04:00
parent dcbfc2b7aa
commit 0bcb48ca31
7 changed files with 57 additions and 23 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ void main(){
vec2 c = v_texCoords.xy;
vec2 coords = vec2(c.x * u_resolution.x + u_campos.x, c.y * u_resolution.y + u_campos.y);
float btime = u_time / 7000000.0;
float btime = u_time / 700000.0;
float noise = sin((texture2D(u_noise, (coords) / NSCALE + vec2(btime) * vec2(-0.9, 0.8)).r + texture2D(u_noise, (coords) / NSCALE + vec2(abs(sin(btime)) * 1.1) * vec2(-0.8, -1.0)).r) / 2.0);
vec4 color = texture2D(u_texture, c);