From c7663c83be21b870647ef5a3a9303010a135bdbf Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 12 Aug 2022 09:07:19 +0200 Subject: [PATCH] fixed a bug in stereographic projection --- shaders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders.cpp b/shaders.cpp index a7a4dec5..22de422d 100644 --- a/shaders.cpp +++ b/shaders.cpp @@ -83,7 +83,7 @@ EX string stereo_shader() { "float s = t.z;\n" "float l = length(t.xyz);\n" "t /= max(l, 1e-2);\n" - "t.z += " + glhr::to_glsl(panini_alpha) + ";\n" + "t.z += " + glhr::to_glsl(stereo_alpha) + ";\n" "t *= l;\n" "t.w = 1.;\n"; }