1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

fixup debug removed

This commit is contained in:
Zeno Rogue 2019-10-26 14:17:22 +02:00
parent 3c4fe13fac
commit 45639c557b

View File

@ -435,9 +435,6 @@ void enable_raycaster() {
fmain +=
" gl_FragDepth = (-float("+fts(vnear+vfar)+")+w*float("+fts(2*vnear*vfar)+")/z)/float("+fts(vnear-vfar)+");\n"
" gl_FragDepth = (gl_FragDepth + 1.) / 2.;\n"
// " gl_FragColor.r = gl_FragDepth * gl_FragDepth;\n"
// " gl_FragColor.g = gl_FragDepth * gl_FragDepth;\n"
// " gl_FragColor.b = gl_FragDepth * gl_FragDepth;\n"
" return;\n"
" }\n"
" left *= (1. - col.w);\n"