Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -157,7 +157,7 @@ void main(void) |
157 | 157 | offset.x *= texSize.x / texSize.y; |
158 | 158 | |
159 | 159 | float ratio = clamp(1.5 * pow(length(vec2(0.5, 0.5) - gl_TexCoord[0].xy) / (0.7071), 2.0), 0.0, 1.0); //sqrt(2) / 2 = 0.7071 |
160 | - ratio *= (1.0 + snoise2(vec3(coord / 2.0, scaledTime / 0.25 + 10.0))) * 0.5; | |
160 | + ratio *= (1.0 + snoise(vec3(coord / 2.0, scaledTime / 0.25 + 10.0))) * 0.5; | |
161 | 161 | |
162 | 162 | gl_FragColor = |
163 | 163 | texture2D(tex, gl_TexCoord[0].xy) * (1.0 - ratio) + | ... | ... |
-
Please register or login to post a comment