forked from team-sg/hero-mark-2
reduce shader time rollover to 240 seconds and alter shaders to accomodate (closes #198)
This commit is contained in:
parent
bd12aa68c1
commit
9c507a9b4f
8 changed files with 17 additions and 11 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue