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:
parent
3c4fe13fac
commit
45639c557b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user