fixed a bug in stereographic projection

This commit is contained in:
Zeno Rogue 2022-08-12 09:07:19 +02:00
parent c261db8a08
commit c7663c83be
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}