kannsokusha
Archive 17/01/2023.
How can I get the backface depth?


kakashidinho
Render the scene twice? Render with backface & front face culled in 2 separate passes into 2 different depth buffers.
With DX11+ UAV or OpenGL’s SSBO you could write to two depth buffers in one single pass based on orientation of the fragment, but I think Urho doesn’t support either of those two.