From 0e0d7743ceee65cb96df09cb0602032a75248b77 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 18 Apr 2024 16:44:49 -0400 Subject: [PATCH] adjusted number of steps used for curvature and fixed height jump --- shaders/module/world.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }