Change the glDepthFunc to GL_GREATER for rendering the outer mesh depth. #6080
Unanswered
piotrpolatowski
asked this question in
Q&A
Replies: 1 comment
-
@ssheorey @prewettg since you have contributed to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am wondering if it's possible from the client code to change the
glDepthFunc
from defaultGL_LESS
toGL_GREATER
?Alternatively, do you know where could I modify the source code to achieve what I'm expecting in a hack fast way?
I have modified the
OffscreenRendering.cpp
example and my need is to get the outer most depth from the perspective of the camera... but I don't know if this is possible to control.I also have tried changing depth test places that I've found and recompiled the source, but the output does not change.
diff.txt
Beta Was this translation helpful? Give feedback.
All reactions