procedural noise

This commit is contained in:
aarizona 2024-09-30 22:23:46 +03:00
parent 8572014f6b
commit 4511d081c6
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
vec2 normal_st = vec2(vPosition.x * vPosition.y, vPosition.y) * vec2(1000 * 2); vec2 normal_st = vec2(gl_FragCoord.x * 0.005, vPosition.y) * vec2(1000 * 2);
// vec2 normal_st = vec2(random(vDistance), random(vDistance))/vec2(u_resolution); // vec2 normal_st = vec2(random(vDistance), random(vDistance))/vec2(u_resolution);
vec3 normal_pos = vec3(normal_st * 5.0, 1.0 * 0.5); vec3 normal_pos = vec3(normal_st * 5.0, 1.0 * 0.5);