diff --git a/raycaster.cpp b/raycaster.cpp index 23a12fc3..6894098e 100644 --- a/raycaster.cpp +++ b/raycaster.cpp @@ -1379,7 +1379,7 @@ void raygen::emit_iterate(int gid1) { if(levellines) { if(hyperbolic && !eyes && !intra::in) - fmain += "gl_FragColor.xyz *= 0.5 + 0.5 * cos(z/cosh(go) * uLevelLines * 2. * PI);\n"; + fmain += "gl_FragColor.xyz *= 0.5 + 0.5 * cos(t.z * uLevelLines * 2. * PI);\n"; else fmain += "gl_FragColor.xyz *= 0.5 + 0.5 * cos(go * uLevelLines * 2. * PI);\n"; if(fsh.find("uLevelLines") == string::npos)