|Topic was automatically imported from the old Question2Answer platform.
How the change depth test in a spatial material from less_than to greater_than?
(maybe I’m silly but I did search the docs and internet and didn’t find how to do this…)
Can you elaborate on what you want to achieve?
DDoop | 2020-08-02 22:09
Yes, DDrop, I will gladly elaborate.
E.g. when Super Mario is behind an object you will see him rendered as a gray silhouette. This can easily be achieved with rendering the object in two passes, where the silhouette pass is rendered with GL_GREATER.
huhund | 2020-08-03 06:12