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>Texture Combiners</title> 11<!-- InstanceEndEditable --> 12</head> 13<body> 14<div> 15 <div class="body"> <!-- InstanceBeginEditable name="本文のタイトル" --> 16 <h1>Texture Combiners</h1> 17 <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="本文" --> 18 <p>The <B>Texture combiners</B> section combines fragment lighting results or textures entered as input and determines their final color and alpha.</p> 19 <h2>Texture Combiner Settings and Features</h2> 20 <p>This page describes texture combiner settings and features.</p> 21 <img class="manual_image" src="assets/texturecombiner.png" alt="texturecombiner"/> 22 <ol class="manual_image"> 23 <li> 24 <p><a href="#add">Add/Delete Buttons</a></p> 25 <p class="manual_image">Allows you to add/delete combiners.</p> 26 </li> 27 <li> 28 <p><a href="#totalsetting">General</a></p> 29 <p class="manual_image">The <B>General </B>section is used to enable/disable the combiner itself and set input targets to the buffer register. <br /> You can also select a constant color to use for settings on the material <B>Properties </B>panel from a pull-down menu.</p> 30 </li> 31 <li> 32 <p><a href="#color">Color</a></p> 33 <p class="manual_image">Sets the combiner calculation formula and source to be used.</p> 34 </li> 35 <li> 36 <p><a href="#alpha">Alpha</a></p> 37 <p class="manual_image">Sets the alpha combiner calculation formula and source to be used.</p> 38 </li> 39 </ol> 40 <a name="add" id="add"> </a> 41 <h3>Add/Delete Buttons</h3> 42 <p>You can add and delete combiners.</p> 43 <img class="manual_image" src="assets/texturecombiner_add.png" alt="texturecombiner_add"/> 44 <p>Press the <B>Add </B>button to add a combiner. <br /></p> 45 <p>Press the <B>Delete </B>button to delete the last combiner added.</p> 46 <p class="hint">Combiners can be created for <em>up to 6 stages</em>.</p> 47 <a name="totalsetting" id="totalsetting"></a> 48 <h3>General</h3> 49 <p>Under <B>General</B>, you can set the buffer input color, buffer input alpha, and constant color.</p> 50 <img class="manual_image" src="assets/texturecombiner_whole.png" alt="texturecombiner_add"/> 51 <h4>Buffer input (color/alpha)</h4> 52 <p>Select the input target to the color and alpha buffer registers from a pull-down list.</p> 53 <table> 54 <thead> 55 <tr> 56 <th>Pull-Down Menu</th> 57 <th>Description of Setting</th> 58 </tr> 59 </thead> 60 <tbody> 61 <tr> 62 <th>Result output by previous stage</th> 63 <td>Specifies that the value output from the previous combiner is to be used.</td> 64 </tr> 65 <tr> 66 <th>Buffer from previous stage</th> 67 <td>Specifies that the value output from the previous buffer is to be used.</td> 68 </tr> 69 </tbody> 70 </table> 71 <p class="warning">Each buffer input is enabled from Combiner 1.</p> 72 <a name="texconstantcolor" id="texconstantcolor"></a> 73 <h4>Constant color</h4> 74 <p>The constant color set under <B>Color</B> on the material <B>Properties </B>panel can be used by selecting from a pull-down menu.</p> 75 <img class="manual_image" src="assets/texturecombiner_constantcolor.png" alt="Constant Color"/> <a name="color" id="color"></a> 76 <h3>Color</h3> 77 <p>Sets the calculation formula and source to be used for the combiner color.</p> 78 <img class="manual_image" src="assets/texturecombiner_color.png" alt="texturecombiner_add"/> 79 <h4>Formulas</h4> 80 <p>You can select the combiner calculation formula from a pull-down menu and set the method for combining specified sources under <B>Source</B>.</p> 81 <p>Formulas</p> 82 <table> 83 <thead> 84 <tr> 85 <th>Formulas</th> 86 <th>Description</th> 87 </tr> 88 </thead> 89 <tbody> 90 <tr> 91 <th>A</th> 92 <td>Uses the Source 0 setting.</td> 93 </tr> 94 <tr> 95 <th>A × B</th> 96 <td>Multiplies the settings made for Source 0 and Source 1.</td> 97 </tr> 98 <tr> 99 <th>A + B</th> 100 <td>Adds the settings made for Source 0 and Source 1.</td> 101 </tr> 102 <tr> 103 <th>A + B - 0.5</th> 104 <td>Adds the settings made for Source 0 and Source 1 and then subtracts 0.5.</td> 105 </tr> 106 <tr> 107 <th>A × C + B × ( 1 - C )</th> 108 <td>Multiplies Source 0 and Source 1 and then adds the result of multiplying the setting for Source 1 times (1 minus Source 2).</td> 109 </tr> 110 <tr> 111 <th>A - B</th> 112 <td>Subtracts the setting made Source 1 from that made for Source 0.</td> 113 </tr> 114 <tr> 115 <th>RGB ← Dot ( A , B )</th> 116 <td>Calculates the dot product of the RGB for Source 0 and Source 1 as vectors. <br /> This formula can only be selected for color. The same value is output for each color component.</td> 117 </tr> 118 <tr> 119 <th>RGBA ← Dot ( A , B )</th> 120 <td>Calculates the dot product of the RGB for Source 0 and Source 1 as vectors. <br /> The same value is output for alpha as for each color component.</td> 121 </tr> 122 <tr> 123 <th>( A + B ) × C</th> 124 <td>Source 0 and Source 1 are added and then multiplied by Source 2.</td> 125 </tr> 126 <tr> 127 <th>( A × B ) + C</th> 128 <td>Source 0 and Source 1 are multiplied and then added to Source 2.</td> 129 </tr> 130 </tbody> 131 </table> 132 <h4>Scale</h4> 133 <p>Setting a scale causes the value set to be multiplied by the caclulation formula.</p> 134 <h4>Source</h4> 135 <p>You can select items used in a formula from a pull-down menu.</p> 136 <h4>Operands</h4> 137 <p>Each R, G, B and A channel of the specified source can be used by selecting from a pull-down menu.</p> 138 <a name="alpha" id="alpha"></a> 139 <h3>Alpha</h3> 140 <p>You can set the alpha of the constant color and the formula to use under the combiner for alpha.</p> 141 <img class="manual_image" src="assets/texturecombiner_alpha.png" alt="texturecombiner_add"/> 142 <p class="hint">The formulas available for alpha settings are the same as described for color settings.</p> 143 <!-- InstanceEndEditable --> </div> 144 <div class="footer" /> 145</div> 146<hr><p>CONFIDENTIAL</p></body> 147<!-- InstanceEnd --> 148</html> 149