From 12fa2ccde8430a7772114e1a860790d7ee2bbc32 Mon Sep 17 00:00:00 2001 From: Valerie Date: Sun, 21 Apr 2024 22:02:02 -0400 Subject: [PATCH] fixed texture warp breaking world curvature --- shaders/gbuffers_basic.vsh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shaders/gbuffers_basic.vsh b/shaders/gbuffers_basic.vsh index 60d5032..cbcbc03 100644 --- a/shaders/gbuffers_basic.vsh +++ b/shaders/gbuffers_basic.vsh @@ -24,16 +24,16 @@ void main() { gl_Position = ftransform(); #endif - #ifndef NO_TWARP - #ifdef tWarp - texture_warp(); - #endif - #endif - #ifndef NON_WORLD #if worldCurvature > 0 world_curvature(); #endif #endif + + #ifndef NO_TWARP + #ifdef tWarp + texture_warp(); + #endif + #endif }