reduce shader time rollover to 240 seconds and alter shaders to accomodate (closes #198)

This commit is contained in:
Haze Weathers 2023-10-14 17:06:41 -04:00
parent bd12aa68c1
commit 9c507a9b4f
8 changed files with 17 additions and 11 deletions

View file

@ -9,7 +9,7 @@ float random (vec2 uv) {
}
void fragment() {
vec2 noise_uv = SCREEN_UV + TIME * float(animate_noise);
vec2 noise_uv = SCREEN_UV + fract(TIME) * float(animate_noise);
float noise = random(noise_uv);
noise = mix(1.0 - noise_intensity, 1.0, noise);