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    <div class="wrap_picture">
22    <img src="assets/texturecombiner.png" alt="texturecombiner"/>
23    </div>
24    <div class="wrap_text">
25    <table class="space">
26      <tr>
27        <th><em>A</em></th>
28        <td class="td_color"><a href="#add">Add/Delete Buttons</a></td>
29        <td>Allows you to add/delete combiners.</td>
30      </tr>
31      <tr>
32        <th><em>B</em></th>
33        <td class="td_color"><a href="#totalsetting">General</a></td>
34        <td>The <B>General </B>section is used to enable/disable the combiner itself and set input targets to the buffer register. <br /> From a pull-down menu you can also select a constant color to use for the settings in the material <B>Properties </B>panel.</td>
35      </tr>
36      <tr>
37        <th><em>C</em></th>
38        <td class="td_color"><a href="#color">Color</a></td>
39        <td>Sets the combiner calculation formula and source to be used.</td>
40      </tr>
41      <tr>
42        <th><em>D</em></th>
43        <td class="td_color"><a href="#alpha">Alpha</a></td>
44        <td>Sets the alpha combiner calculation formula and source to be used.</td>
45      </tr>
46    </table>
47</div>
48<div class="wrap_clear"></div>
49    <a name="add" id="add"> </a>
50    <h3>Add/Delete Buttons</h3>
51    <p>You can add and delete combiners.</p>
52    <img src="assets/texturecombiner_add.png" alt="texturecombiner_add"/>
53    <p>Press the <B>Add </B>button to add a combiner. <br /></p>
54    <p>Press the <B>Delete </B>button to delete the last combiner added.</p>
55    <p class="hint">Combiners can be created for <em>up to 6 stages</em>.</p>
56    <a name="totalsetting" id="totalsetting"></a>
57    <h3>General</h3>
58    <p>Under <B>General</B>, you can set the buffer input color, buffer input alpha, and constant color.</p>
59    <img src="assets/texturecombiner_whole.png" alt="texturecombiner_add"/>
60    <h4>Buffer input (color/alpha)</h4>
61    <p>Select the input target to the color and alpha buffer registers from a pull-down list.</p>
62    <table>
63      <thead>
64        <tr>
65          <th>Pull-Down Menu</th>
66          <th>Description of Setting</th>
67        </tr>
68      </thead>
69      <tbody>
70        <tr>
71          <th>Result output by previous stage</th>
72          <td>Specifies that the value output from the previous combiner is to be used.</td>
73        </tr>
74        <tr>
75          <th>Buffer from previous stage</th>
76          <td>Specifies that the value output from the previous buffer is to be used.</td>
77        </tr>
78      </tbody>
79    </table>
80    <p class="warning">Each buffer input is enabled from Combiner 1.</p>
81    <a name="texconstantcolor" id="texconstantcolor"></a>
82    <h4>Constant color</h4>
83    <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>
84    <img src="assets/texturecombiner_constantcolor.png" alt="Constant Color"/> <a name="color" id="color"></a>
85    <h3>Color</h3>
86    <p>Sets the calculation formula and source to be used for the combiner color.</p>
87    <img src="assets/texturecombiner_color.png" alt="texturecombiner_add"/>
88    <h4>Formula</h4>
89    <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>
90    <p>Formula</p>
91    <table>
92      <thead>
93        <tr>
94          <th>Formula</th>
95          <th>Description</th>
96        </tr>
97      </thead>
98      <tbody>
99        <tr>
100          <th>A</th>
101          <td>Uses the Source 0 setting.</td>
102        </tr>
103        <tr>
104          <th>A &times; B</th>
105          <td>Multiplies the settings made for Source 0 and Source 1.</td>
106        </tr>
107        <tr>
108          <th>A + B</th>
109          <td>Adds the settings made for Source 0 and Source 1.</td>
110        </tr>
111        <tr>
112          <th>A + B - 0.5</th>
113          <td>Adds the settings made for Source 0 and Source 1 and then subtracts 0.5.</td>
114        </tr>
115        <tr>
116          <th>A &times; C + B &times; ( 1 - C )</th>
117          <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>
118        </tr>
119        <tr>
120          <th>A - B</th>
121          <td>Subtracts the setting made Source 1 from that made for Source 0.</td>
122        </tr>
123        <tr>
124          <th>RGB ← Dot ( A , B )</th>
125          <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>
126        </tr>
127        <tr>
128          <th>RGBA ← Dot ( A , B )</th>
129          <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>
130        </tr>
131        <tr>
132          <th>( A + B ) &times; C</th>
133          <td>Source 0 and Source 1 are added and then multiplied by Source 2.</td>
134        </tr>
135        <tr>
136          <th>( A &times; B ) + C</th>
137          <td>Source 0 and Source 1 are multiplied and then added to Source 2.</td>
138        </tr>
139      </tbody>
140    </table>
141    <h4>Scale</h4>
142    <p>Setting a scale causes the value set to be multiplied by the calculation formula.</p>
143    <h4>Source</h4>
144    <p>You can select items used in a formula from a pull-down menu.</p>
145    <h4>Operand</h4>
146    <p>Each R, G, B and A channel of the specified source can be used by selecting from a pull-down menu.</p>
147    <a name="alpha" id="alpha"></a>
148    <h3>Alpha</h3>
149    <p>You can set the alpha of the constant color and the formula to use under the combiner for alpha.</p>
150    <img src="assets/texturecombiner_alpha.png" alt="texturecombiner_add"/>
151    <p class="hint">The formulas available for alpha settings are the same as described for color settings.</p>
152    <!-- InstanceEndEditable --> </div>
153  <div class="footer" />
154</div>
155<hr><p>CONFIDENTIAL</p></body>
156<!-- InstanceEnd -->
157</html>