Hi
I have been thinking about a thing for a while now. When performing depth test only one side of a mesh could be compared against the z-buffer. At least on the hardware / API I have come across. In several cases there would have been great to do this test on both back and front faces in the same pass. Space clipping in deferred rendering could gain much, for example. I don’t have insight in the details of hardware / API implementation but it doesn’t feels like an impossible request. There already exists two-sided stencil features. Are there any hardware / API where you could do this already? Does anyone know why it doesn’t exist? Does anybody know of some future plans to implement this?
Thanks
I have been thinking about a thing for a while now. When performing depth test only one side of a mesh could be compared against the z-buffer. At least on the hardware / API I have come across. In several cases there would have been great to do this test on both back and front faces in the same pass. Space clipping in deferred rendering could gain much, for example. I don’t have insight in the details of hardware / API implementation but it doesn’t feels like an impossible request. There already exists two-sided stencil features. Are there any hardware / API where you could do this already? Does anyone know why it doesn’t exist? Does anybody know of some future plans to implement this?
Thanks