1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> 3<!-- InstanceBegin template="/Templates/default_template.dwt" codeOutsideHTMLIsLocked="false" --> 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6<meta http-equiv="Content-Style-Type" content="text/css" /> 7<!-- InstanceBeginEditable name="CSS の相対パス指定" --> 8<link href="../../../../../../common/manual.css" rel="stylesheet" type="text/css" /> 9<!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="ページのタイトル" --> 10<title>Stencil test</title> 11<!-- InstanceEndEditable --> 12</head> 13<body> 14<div> 15 <div class="body"> <!-- InstanceBeginEditable name="本文のタイトル" --> 16 <h1>Stencil test</h1> 17 <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="本文" --> 18 <p>A stencil test is used to compare the value set here with the value in the stencil buffer being written to. </p> 19 <h2>Stencil Test Settings and Features</h2> 20 <p>This page describes stencil test settings and features.</p> 21 <p>For details on the stencil test, click <a href="../../../../../../user_guide/material/blender/write_test/index.html">here</a>.</p> 22 <img class="manual_image" src="assets/stencil_test.png" alt="stencil_test"/> 23 <ol class="manual_image"> 24 <li> 25 <p>Test enabled</p> 26 <p class="manual_image">Enable/disable the stencil test using the checkbox.</p> 27 </li> 28 <li> 29 <p>Stencil test function</p> 30 <p class="manual_image">Sets the method of comparison to use when executing a stencil test. </p> 31 </li> 32 <li> 33 <p>Reference value for stencil test</p> 34 <p class="manual_image">Sets the reference value used for comparison with the stencil buffer. </p> 35 </li> 36 <li> 37 <p>Test mask</p> 38 <p class="manual_image">You can specify in detail the range of stencil values to be tested using the value set for the test mask.</p> 39 <p class="manual_image">The default value is 255, which specifies the entire range.</p> 40 </li> 41 <li> 42 <p>When the stencil test fails</p> 43 <p class="manual_image">Sets the process to use when the stencil test fails. Subsequent depth test processing is not carried out.</p> 44 </li> 45 <li> 46 <p>When the depth test fails</p> 47 <p class="manual_image">Sets the process used if the depth test fails if use has been determined by the stencil test.</p> 48 </li> 49 <li> 50 <p>When the depth test succeeds</p> 51 <p class="manual_image">Sets the process to use if use has been determined by both the stencil test and depth test. </p> 52 </li> 53 </ol> 54 <!-- InstanceEndEditable --> </div> 55 <div class="footer" /> 56</div> 57<hr><p>CONFIDENTIAL</p></body> 58<!-- InstanceEnd --> 59</html> 60