I'm having a kind of niche problem, I'm cutting a hole in a prop using ClearBuffersObeyStencil but the issue is that since it clears the depth, stuff rendered afterwards will appear through the world. If I draw it in PostDrawOpaqueRenderables translucent stuff will be drawn through the world and if I draw it in PostDrawTranslucentRenderables my opaque prop will draw above any translucent object. I know PostDrawSkybox is called before the world is rendered however between that being called and the world being rendered the depth buffer is cleared internally so the world will draw above my prop. So if there was a hook that gets called between the depth buffer being cleared and the world being drawn that would solve all my issues.
I'm having a kind of niche problem, I'm cutting a hole in a prop using ClearBuffersObeyStencil but the issue is that since it clears the depth, stuff rendered afterwards will appear through the world. If I draw it in PostDrawOpaqueRenderables translucent stuff will be drawn through the world and if I draw it in PostDrawTranslucentRenderables my opaque prop will draw above any translucent object. I know PostDrawSkybox is called before the world is rendered however between that being called and the world being rendered the depth buffer is cleared internally so the world will draw above my prop. So if there was a hook that gets called between the depth buffer being cleared and the world being drawn that would solve all my issues.