From 97c9673b30c820ccf356b344db7069f459e8c476 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 9 Nov 2019 12:33:13 +0100 Subject: [PATCH] fixed simple perspective in nonisotropic --- shaders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders.cpp b/shaders.cpp index acc346c5..f2e0bc92 100644 --- a/shaders.cpp +++ b/shaders.cpp @@ -217,7 +217,7 @@ shared_ptr write_shader(flagtype shader_flags) { shader_flags |= SF_PERS3 | SF_DIRECT; if(hyperbolic) distfun = "acosh(t[3])", treset = true; - else if(euclid) + else if(euclid || nonisotropic) distfun = "length(t.xyz)", treset = true; else { if(spherephase & 4) coordinator += "t = -t;\n";