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 format.</title> 11<!-- InstanceEndEditable --> 12</head> 13<body> 14<div> 15 <div class="body"> <!-- InstanceBeginEditable name="本文のタイトル" --> 16 <h1>Texture format.</h1> 17 <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="本文" --> 18 <p>This page describes texture format types available with CreativeStudio.</p> 19 <p>For details on texture formats, see the separate document Introduction to CTR Graphics.</p> 20 <h2>Texture Format Types</h2> 21 <p>List of Texture Formats</p> 22 <img class="user_guide_chart" src="assets/texture_format_texformatlist.png" alt="List of Texture Formats"/> 23 <p>Component to configure a texture format for</p> 24 <table> 25 <thead> 26 <tr> 27 <th>Texture format.</th> 28 <th>Component</th> 29 </tr> 30 </thead> 31 <tbody> 32 <tr> 33 <th>RGB</th> 34 <td>Holds color information.<br /> R = Red component<br />G = Green component<br />B = Blue component</td> 35 </tr> 36 <tr> 37 <th>A (Alpha)</th> 38 <td>Holds transparency information.<br /></td> 39 </tr> 40 <tr> 41 <th>L (Luminance)</th> 42 <td>Holds grayscale brightness information.</td> 43 </tr> 44 <tr> 45 <th>ETC (Ericsson Texture Compression)</th> 46 <td> Compresses an RGB texture in 4x4-pixel blocks.</td> 47 </tr> 48 <tr> 49 <th>HILO</th> 50 <td>Holds only the R and G components.<br /> You can maintain a system of 256 gradations for each color component by treating the R component as the normal in the X direction and the G component as the normal in the Y direction.</td> 51 </tr> 52 </tbody> 53 </table> 54 <h2>Texture Size</h2> 55 <p>The height and width of the texture image being used do not need to be the same size. Rectangular textures are also supported.</p> 56 <p>However, the height and width must both be a <a href="../../../glossary/index.html#power_method">power of two</a>.</p> 57 <p>The following figure describes the maximum and minimum size of textures.</p> 58 <img class="user_guide_chart" src="assets/texture_format_texsize.png" alt="Texture Size"/> 59 <p>Texture formats include a <em>minimum size</em> that cannot be reduced any further.</p> 60 <ul> 61 <li>ETC format: 16 × 16</li> 62 <li>Other than ETC format: 8 × 8</li> 63 </ul> 64 <h2>Texture Format Properties</h2> 65 <p>This section describes the properties of each texture format.</p> 66 <h3>Alpha Format</h3> 67 <p>This format stores only the alpha component.</p> 68 <p>Although the image is usually used as transparent, it can also be expressed as a grayscale.</p> 69 <table> 70 <thead> 71 <tr> 72 <th class="thumb">Format</th> 73 <th class="thumb">RGB</th> 74 <th class="thumb">Alpha</th> 75 <th>Description</th> 76 </tr> 77 </thead> 78 <tbody> 79 <tr> 80 <th>A4</th> 81 <td class="thumb"><img class="thumb" src="assets/texture_format_a4.png" alt="Alpha 4-bit"/></td> 82 <th>--</th> 83 <td>This format uses 4 bits per texel.<br /> The alpha component can be expressed in 4 bits (16 levels). </td> 84 </tr> 85 <tr> 86 <th>A8</th> 87 <td class="thumb"><img class="thumb" src="assets/texture_format_a8.png" alt="Alpha 8-bit"/></td> 88 <th>--</th> 89 <td>This format uses 8 bits per texel.<br /> The alpha component can be expressed in 8 bits (256 levels). </td> 90 </tr> 91 </tbody> 92 </table> 93 <h3>Luminance Format</h3> 94 <p>This format stores only the luminance component.</p> 95 <p>Although usually used as a grayscale, this format can also express alpha values.</p> 96 <table> 97 <thead> 98 <tr> 99 <th class="thumb">Format</th> 100 <th class="thumb">RGB</th> 101 <th class="thumb">Alpha</th> 102 <th>Description</th> 103 </tr> 104 </thead> 105 <tbody> 106 <tr> 107 <th>L4</th> 108 <td class="thumb"><img class="thumb" src="assets/texture_format_l4.png" alt="Luminance 4-bit"/></td> 109 <th>--</th> 110 <td>This format uses 4 bits per texel.<br /> Brightness can be expressed in 4 bits (16 levels). </td> 111 </tr> 112 <tr> 113 <th>L8</th> 114 <td class="thumb"><img class="thumb" src="assets/texture_format_l8.png" alt="Luminance 8-bit"/></td> 115 <th>--</th> 116 <td>This format uses 8 bits per texel.<br /> Brightness can be expressed in 8 bits (256 levels). </td> 117 </tr> 118 </tbody> 119 </table> 120 <h3>Luminance Alpha Format</h3> 121 <p>This format stores luminance and alpha components.</p> 122 <table> 123 <thead> 124 <tr> 125 <th class="thumb">Format</th> 126 <th class="thumb">RGB</th> 127 <th class="thumb">Alpha</th> 128 <th>Description</th> 129 </tr> 130 </thead> 131 <tbody> 132 <tr> 133 <th>LA4</th> 134 <td class="thumb"><img class="thumb" src="assets/texture_format_l4.png" alt="Luminance 4-bit"/></td> 135 <td class="thumb"><img class="thumb" src="assets/texture_format_a4.png" alt="Alpha 4-bit"/></td> 136 <td>This format uses 8 bits per texel.<br /> Brightness and alpha can both be expressed in 4 bits (16 levels), respectively.</td> 137 </tr> 138 <tr> 139 <th>LA8</th> 140 <td class="thumb"><img class="thumb" src="assets/texture_format_l8.png" alt="Luminance 8-bit"/></td> 141 <td class="thumb"><img class="thumb" src="assets/texture_format_a8.png" alt="Alpha 8-bit"/></td> 142 <td>This format uses 16 bits per texel.<br /> Brightness and alpha can both be expressed in 8 bits (256 levels), respectively.</td> 143 </tr> 144 </tbody> 145 </table> 146 <h3>ETC Format</h3> 147 <p>The texture size can be reduced by compressing the RGB texture.</p> 148 <p>The higher the resolution and smoother the variation in color of the image before compression, the more reproducible it will be.</p> 149 <table> 150 <thead> 151 <tr> 152 <th class="thumb">Format</th> 153 <th class="thumb">RGB</th> 154 <th class="thumb">Alpha</th> 155 <th>Description</th> 156 </tr> 157 </thead> 158 <tbody> 159 <tr> 160 <th>ETC</th> 161 <td class="thumb"><img class="thumb" src="assets/texture_format_etc.png" alt="ETC"/></td> 162 <th>--</th> 163 <td>This format uses 4 bits per texel using compression technology.<br /> RGB components are compressed and stored in 4 bits.</td> 164 </tr> 165 </tbody> 166 </table> 167 <!-- <p>以下の図は、ETC の仕組みについて説明したものです。</p> <img class="user_guide_chart" src="assets/texture_format_etc_mechanism.png" alt="ETCの仕組み"/> --> 168 <h3>ETCA Format</h3> 169 <p>This format is the same as the ETC format with an added alpha component.</p> 170 <p>RGB component properties are the same as the ETC format.</p> 171 <table> 172 <thead> 173 <tr> 174 <th class="thumb">Format</th> 175 <th class="thumb">RGB</th> 176 <th class="thumb">Alpha</th> 177 <th>Description</th> 178 </tr> 179 </thead> 180 <tbody> 181 <tr> 182 <th>ETCA4</th> 183 <td class="thumb"><img class="thumb" src="assets/texture_format_etc.png" alt="ETC"/></td> 184 <td class="thumb"><img class="thumb" src="assets/texture_format_a4.png" alt="Alpha 4-bit"/></td> 185 <td>This format uses 8 bits per texel using compression technology.<br /> RGB components are compressed and stored in 4 bits. The alpha component can be expressed in 4 bits (16 levels). </td> 186 </tr> 187 </tbody> 188 </table> 189 <h3>HILO Format</h3> 190 <p>This texture format is used for normal mapping.</p> 191 <p>You can express quasi-bumps and depressions on a polygon's surface applying normal mapping to that polygon.</p> 192 <table> 193 <thead> 194 <tr> 195 <th class="thumb">Format</th> 196 <th class="thumb">Images (RGB)</th> 197 <th class="thumb">Alpha</th> 198 <th>Description</th> 199 </tr> 200 </thead> 201 <tbody> 202 <tr> 203 <th>HILO</th> 204 <td class="thumb"><img class="thumb" src="assets/texture_format_hilo.png" alt="HILO"/></td> 205 <th>--</th> 206 <td>This format uses 16 bits per texel and is used for normal mapping.<br /> X and Y components for normal information are stored for the R and G components using 8-bit precision.</td> 207 </tr> 208 </tbody> 209 </table> 210 <h3>RGB Format</h3> 211 <p> This format stores only the RGB components.</p> 212 <table> 213 <thead> 214 <tr> 215 <th class="thumb">Format</th> 216 <th class="thumb">RGB</th> 217 <th class="thumb">Alpha</th> 218 <th>Description</th> 219 </tr> 220 </thead> 221 <tbody> 222 <tr> 223 <th>RGB565</th> 224 <td class="thumb"><img class="thumb" src="assets/texture_format_rgb565.png" alt="RGB565 Bit"/></td> 225 <th>--</th> 226 <td>This format uses 16 bits per texel.<br /> Colors can be expressed in this format using 5 bits (32 levels) for the R component, 6 bits (64 levels) for the G component, and 5 bits (32 levels) for the B component. </td> 227 </tr> 228 <tr> 229 <th>RGB8</th> 230 <td class="thumb"><img class="thumb" src="assets/texture_format_rgb8.png" alt="RGB 8-bit"/></td> 231 <th>--</th> 232 <td>This format uses 24 bits per texel.<br /> This format can express each of the three RGB components in 8 bits (256 levels).</td> 233 </tr> 234 </tbody> 235 </table> 236 <h3>RGBA Format</h3> 237 <p> This format stores the RGB components and alpha component.</p> 238 <table> 239 <thead> 240 <tr> 241 <th class="thumb">Format</th> 242 <th class="thumb">RGB</th> 243 <th class="thumb">Alpha</th> 244 <th>Description</th> 245 </tr> 246 </thead> 247 <tbody> 248 <tr> 249 <th>RGBA4</th> 250 <td class="thumb"><img class="thumb" src="assets/texture_format_rgb4.png" alt="RGB 4-bit"/></td> 251 <td class="thumb"><img class="thumb" src="assets/texture_format_a4.png" alt="Alpha 4-bit"/></td> 252 <td>This format uses 16 bits per texel.<br /> Each RGBA component can be expressed in 4 bits (16 levels).</td> 253 </tr> 254 <tr> 255 <th>RGB5A1</th> 256 <td class="thumb"><img class="thumb" src="assets/texture_format_rgb5.png" alt="RGB 5-bit"/></td> 257 <td class="thumb"><img class="thumb" src="assets/texture_format_a1.png" alt="Alpha 1-bit"/></td> 258 <td>This format uses 16 bits per texel.<br /> The three RGB components can be expressed in 5 bits (32 levels) and the alhpa component can be expressed in 1 bit (transparent or opaque). </td> 259 </tr> 260 <tr> 261 <th>RGBA8</th> 262 <td class="thumb"><img class="thumb" src="assets/texture_format_rgb8.png" alt="RGB 8-bit"/></td> 263 <td class="thumb"><img class="thumb" src="assets/texture_format_a8.png" alt="Alpha 8-bit"/></td> 264 <td>This format uses 32 bits per texel.<br /> Each RGBA component can be expressed in 8 bits (256 levels).<br /> Although the number of colors is greatest on the one hand, the data size is also the largest.</td> 265 </tr> 266 </tbody> 267 </table> 268 <!-- InstanceEndEditable --> </div> 269 <div class="footer" /> 270</div> 271<hr><p>CONFIDENTIAL</p></body> 272<!-- InstanceEnd --> 273</html>