Feat: Better noise and position of effect.

This commit is contained in:
2025-09-25 20:53:29 +01:00
parent cb38b2445e
commit fcb28671c2
6 changed files with 13 additions and 31 deletions
+2 -2
View File
@@ -75,10 +75,10 @@ void main() {
vec2 st = gl_FragCoord.xy / u_resolution; // Normalize coordinates
st += 13.0 + (u_oscilator * 0.001); // Center the coordinates
vec2 pos = st * (3.0);
vec2 pos = st * (2.2);
pos = rotate2d(perlinNoise(pos)) * pos;
pos -= (u_time * (float(u_oscilator) * 0.5) * 0.2);
pos -= (u_time * (float(u_oscilator) * 0.5) * 0.1);
float n = perlinNoise(pos);
vec3 color;