sosozcm
02-14-2011, 02:00 AM
void StencilFunc( enum func, int ref, uint mask )
The stencil test conditionally discards a fragment based on the outcome of a comparison
between the value in the stencil buffer at location (xw, yw) and a referencevalue.
So i don't understand what's the value in the stencil buffer stand for. the value of RGBA?or something else?
for depth test, it is clear that the value of Z coordinate is compared.
The stencil test conditionally discards a fragment based on the outcome of a comparison
between the value in the stencil buffer at location (xw, yw) and a referencevalue.
So i don't understand what's the value in the stencil buffer stand for. the value of RGBA?or something else?
for depth test, it is clear that the value of Z coordinate is compared.