adjusted number of steps used for curvature and fixed height jump

This commit is contained in:
Valerie Wolfe 2024-04-18 16:44:49 -04:00
parent 8da7185ead
commit 13a07850ac

View file

@ -8,7 +8,7 @@ void world_curvature() {
gl_Position.y -= 2 * z / worldRadius; gl_Position.y -= 2 * z / worldRadius;
#elif worldCurvature == 2 #elif worldCurvature == 2
vec2 xz = gl_Position.xz; vec2 xz = gl_Position.xz;
gl_Position.y -= ceil(( dot(xz, xz) * 5 ) / worldRadius) / 5; gl_Position.y -= round(( dot(xz, xz) / worldRadius ) * 8) / 8;
#endif #endif
} }