diff --git a/shaders/module/world.vert b/shaders/module/world.vert index 214c5e9..bc52f2e 100644 --- a/shaders/module/world.vert +++ b/shaders/module/world.vert @@ -8,7 +8,7 @@ void world_curvature() { gl_Position.y -= 2 * z / worldRadius; #elif worldCurvature == 2 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 }