<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Stencil buffer - Page 7 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=stencil_buffer&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=stencil_buffer&amp;p=8">3.Next</a>
</p>
<p>is also possible.</p>

<p><big>Stencil test</big></p>
<p>Stencil test or stenciling is among the operations on the pixels/fragments (Per-pixel operations), located after the <a href="page.php?w=Alpha_compositing">alpha test</a>, and before the <a href="page.php?w=depth_test">depth test</a>. The stencil test ensures undesired pixels do not reach the depth test.  This saves processing time for the scene. Similarly, the alpha test can prevent corresponding pixels to reach the stencil test.</p>

<p>The test itself is carried out over the stencil buffer to</p><p>
<a accesskey="1" href="page.php?w=stencil_buffer&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=stencil_buffer&amp;p=8">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
