I am writing some API for a piece of new graphics hardware, I try to let it support stencil buffer, but the hardware itself only support scissor test, depth test, alpha test, and a strange destination alpha test, no direct stencil test. I need to make some effect such as reflection&shadow volumn, so I need the stencil buffer. Is there any way that I can implement stencil test in hardware?(software emulation is definitely too slow) I know there are some people that write display driver for the nVIDIA, can you kindly give me a hint?
[This message has been edited by Nil_z (edited 02-18-2001).]