1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 "http://www.w3.org/TR/html4/strict.dtd"> 3<html> 4<head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <link href="../../../css/manpage.css" rel="stylesheet" type="text/css"> 7 <title>Fragment Operation Properties</title> 8</head> 9<body> 10<h1 id="PE_PROPERTY_PANEL">Fragment Operation Properties</h1> 11 12<p>This is for editing the details of fragment operations.</p> 13 14<p class="img"> 15 <img src="images/material_pe_panel.gif" alt="PE Properties"> 16</p> 17 18<ol class="ui"> 19 <!-- =================================================== --> 20 <li> 21 <dt> 22 <p>Sets the conditions for the Alpha Compare comparison process.</p> 23 <dl class="enum"> 24 <dt>Never pass</dt> 25 <dd>Never passes.</dd> 26 27 <dt>Alpha < value</dt> 28 <dd>Passes when Pixel alpha < Reference value.</dd> 29 30 <dt>Alpha <= Value</dt> 31 <dd>Passes when Pixel alpha <= Reference value.</dd> 32 33 <dt>Alpha == Value</dt> 34 <dd>Passes when Pixel alpha == Reference value.</dd> 35 36 <dt>Alpha != Value</dt> 37 <dd>Passes when Pixel alpha != Reference value.</dd> 38 39 <dt>Alpha >= Value</dt> 40 <dd>Passes when Pixel alpha >= Reference value.</dd> 41 42 <dt>Alpha > Value</dt> 43 <dd>Passes when Pixel alpha > Reference value.</dd> 44 45 <dt>Always passes</dt> 46 <dd>Always passes.</dd> 47 </dl> 48 </dt> 49 </li> 50 51 <!-- =================================================== --> 52 <li> 53 <p>Sets blend mode.</p> 54 <dl class="enum"> 55 <dt>None.</dt> 56 <dd> 57 Does no blend processing, and the pixel value is loaded into eFB without modification. 58 </dd> 59 60 <dt>Blend calculations</dt> 61 <dd> 62 Blends based on the blend formula.<br> Details on configuration are given in <a href="#MATERIAL_PE_BLEND">Blend Calculation Mode</a>. 63 </dd> 64 65 <dt>Logic calculations</dt> 66 <dd> 67 Logically calculates the pixel value and the frame buffer value and writes it.<br> Details on configuration are given in <a href="#MATERIAL_PE_LOGIC">Logic Calculation Mode</a>. 68 </dd> 69 </dl> 70 </li> 71</ol> 72 73<!-- =================================================== --> 74<h2 id="MATERIAL_PE_BLEND">Blend Calculation Mode</h2> 75<p class="img"> 76 <img src="images/material_pe_blend.gif" alt="Blend Calculation Mode"> 77</p> 78 79<ol class="ui"> 80 <!-- =================================================== --> 81 <li> 82 <p>Sets the coefficient that is multiplied by the pixel color.</p> 83 <dl class="enum"> 84 <dt>0</dt> 85 <dd>Constant value 0.</dd> 86 87 <dt>1</dt> 88 <dd>Constant value 1.</dd> 89 90 <dt>eFB Color</dt> 91 <dd>Frame buffer color.</dd> 92 93 <dt>1-eFB Color</dt> 94 <dd>1-framebuffer color.</dd> 95 96 <dt>Pixel Alpha</dt> 97 <dd>Pixel alpha.</dd> 98 99 <dt>1-Pixel Alpha</dt> 100 <dd>1-Pixel alpha.</dd> 101 102 <dt>eFB Alpha</dt> 103 <dd>Framebuffer alpha.</dd> 104 105 <dt>1-eFB Alpha</dt> 106 <dd>1-framebuffer alpha.</dd> 107 </dl> 108 </li> 109 110 <li> 111 <p>Sets the operations for pixel color and framebuffer color.</p> 112 <dl class="enum"> 113 <dt>+</dt> 114 <dd>GL_ADD.</dd> 115 116 <dt>-</dt> 117 <dd>GL_SUBTRACT.</dd> 118 119 <dt>Reverse-</dt> 120 <dd>GL_REVERSE_SUBTRACT.</dd> 121 </dl> 122 </li> 123 124 <li> 125 <p>Sets the coefficient that is multiplied by the frame buffer color.</p> 126 <dl class="enum"> 127 <dt>0</dt> 128 <dd>Constant value 0.</dd> 129 130 <dt>1</dt> 131 <dd>Constant value 1.</dd> 132 133 <dt>Pixel Color</dt> 134 <dd>Pixel color.</dd> 135 136 <dt>1-Pixel Color</dt> 137 <dd>1-Pixel color.</dd> 138 139 <dt>Pixel Alpha</dt> 140 <dd>Pixel alpha.</dd> 141 142 <dt>1-Pixel Alpha</dt> 143 <dd>1-Pixel alpha.</dd> 144 145 <dt>eFB Alpha</dt> 146 <dd>Framebuffer alpha.</dd> 147 148 <dt>1-eFB Alpha</dt> 149 <dd>1-framebuffer alpha.</dd> 150 </dl> 151 </li> 152</ol> 153<!-- =================================================== --> 154<h2 id="MATERIAL_PE_LOGIC">Logic Calculation Mode</h2> 155<p class="img"> 156 <img src="images/material_pe_logic.gif" alt="Logic Calculation Mode"> 157</p> 158 159<ol class="ui"> 160 <!-- =================================================== --> 161 <li> 162 <p>Sets the calculation method for logical calculations.</p> 163 <dl class="enum"> 164 <dt>0</dt> 165 <dd>Calculation result=0.</dd> 166 167 <dt>1</dt> 168 <dd>Calculation result=1.</dd> 169 170 <dt>Pixel Color</dt> 171 <dd>Calculation result=pixel color.</dd> 172 173 <dt>~Pixel color</dt> 174 <dd>Calculation result=~pixel color.</dd> 175 176 <dt>eFB Color</dt> 177 <dd>Calculation result=Framebuffer color.</dd> 178 179 <dt>~eFB color</dt> 180 <dd>Calculation result=~Framebuffer color.</dd> 181 182 <dt>Pixel color & eFB color</dt> 183 <dd>Calculation result=Pixel color & framebuffer color.</dd> 184 185 <dt>~(Pixel color & eFB color)</dt> 186 <dd>Calculation result=~Pixel color & framebuffer color)..</dd> 187 188 <dt>Pixel color | eFB color</dt> 189 <dd>Calculation result=Pixel color | framebuffer color.</dd> 190 191 <dt>~(Pixel color | eFB color)</dt> 192 <dd>Calculation result=~(Pixel color | framebuffer color).</dd> 193 194 <dt>Pixel color ^ eFB color</dt> 195 <dd>Calculation result=Pixel color ^ framebuffer color.</dd> 196 197 <dt>~(Pixel color ^ eFB color)</dt> 198 <dd>Calculation result=~(Pixel color ^ framebuffer color).</dd> 199 200 <dt>Pixel color & ~eFB color</dt> 201 <dd>Calculation result=Pixel color & ~framebuffer color.</dd> 202 203 <dt>~Pixel color & eFB color</dt> 204 <dd>Calculation result=~Pixel color & framebuffer color.</dd> 205 206 <dt>Pixel color | ~eFB color</dt> 207 <dd>Calculation result=Pixel color | ~framebuffer color.</dd> 208 209 <dt>~Pixel color | eFB color</dt> 210 <dd>Calculation result=~Pixel color | framebuffer color.</dd> 211 </dl> 212 </li> 213</ol> 214 215<hr><p>CONFIDENTIAL</p></body> 216</html> 217