some changes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-10 17:06:51 +01:00
parent f884ac1d1d
commit f7c6d3ae16
8 changed files with 756 additions and 45 deletions

View File

@@ -47,13 +47,6 @@ vec3 gradientNoise(vec2 pos, float gridSize){
float d12 = dot(g12, f - vec2(1.0, 0.0));
float d21 = dot(g21, f - vec2(0.0, 1.0));
float d22 = dot(g22, f - vec2(1.0, 1.0));
/*
vec3 f11 = vec3(d11);
vec3 f12 = vec3(d12);
vec3 f21 = vec3(d21);
vec3 f22 = vec3(d22);
*/
vec3 f11 = pcg3d(uvec3(i.x,i.y,0)) * (d11 + 1.0);
vec3 f12 = pcg3d(uvec3(i.x + 1u,i.y,0))* (d12 + 1.0);