2
0

texture_settings.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <!DOCTYPE html>
  2. <html class="writer-html5" lang="en" >
  3. <head>
  4. <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
  5. <meta property="article:modified_time" content="2026-02-16T16:34:21+00:00" /><meta property="og:title" content="Texture Settings" />
  6. <meta property="og:type" content="website" />
  7. <meta property="og:url" content="https://docs.crownengine.org/html/latest/level_editor/texture_settings.html" />
  8. <meta property="og:site_name" content="Crown 0.60.0 Manual" />
  9. <meta property="og:description" content="The Texture Settings dialog lets you customize how Crown processes a texture for each target platform. To open it, double-click a texture in the Project Browser; Crown will display a dialog similar to this: The Texture Settings dialog., Overview: On the left, the Target Platfo..." />
  10. <meta property="og:image" content="https://docs.crownengine.org/html/latest/_images/texture_settings_dialog.png" />
  11. <meta property="og:image:alt" content="Crown 0.60.0 Manual" />
  12. <meta name="description" content="The Texture Settings dialog lets you customize how Crown processes a texture for each target platform. To open it, double-click a texture in the Project Browser; Crown will display a dialog similar to this: The Texture Settings dialog., Overview: On the left, the Target Platfo..." />
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  14. <title>Texture Settings &mdash; Crown 0.60.0 Manual 0.61.0 documentation</title>
  15. <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  16. <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  17. <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  18. <link rel="shortcut icon" href="../_static/org.crownengine.Crown.svg"/>
  19. <link rel="canonical" href="https://docs.crownengine.org/html/latest/level_editor/texture_settings.html" />
  20. <!--[if lt IE 9]>
  21. <script src="../_static/js/html5shiv.min.js"></script>
  22. <![endif]-->
  23. <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
  24. <script src="../_static/jquery.js"></script>
  25. <script src="../_static/underscore.js"></script>
  26. <script src="../_static/doctools.js"></script>
  27. <script src="../_static/js/theme.js"></script>
  28. <link rel="index" title="Index" href="../genindex.html" />
  29. <link rel="search" title="Search" href="../search.html" />
  30. <link rel="copyright" title="Copyright" href="../copyright.html" />
  31. <link rel="next" title="Importing Resources" href="../importing_resources/index.html" />
  32. <link rel="prev" title="Level Viewport" href="level_viewport.html" />
  33. </head>
  34. <body class="wy-body-for-nav">
  35. <div class="wy-grid-for-nav">
  36. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  37. <div class="wy-side-scroll">
  38. <div class="wy-side-nav-search" >
  39. <a href="../index.html">
  40. <img src="../_static/org.crownengine.Crown.svg" class="logo" alt="Logo"/>
  41. </a>
  42. <div class="version">
  43. Crown 0.60.0 Manual
  44. </div>
  45. <div role="search">
  46. <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
  47. <input type="text" name="q" placeholder="Search docs" />
  48. <input type="hidden" name="check_keywords" value="yes" />
  49. <input type="hidden" name="area" value="default" />
  50. </form>
  51. </div>
  52. </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
  53. <ul class="current">
  54. <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
  55. <li class="toctree-l1"><a class="reference internal" href="../introduction.html">Introduction</a></li>
  56. <li class="toctree-l1"><a class="reference internal" href="../installing_crown/index.html">Installing Crown</a></li>
  57. <li class="toctree-l1"><a class="reference internal" href="../getting_started/index.html">Getting Started</a></li>
  58. <li class="toctree-l1 current"><a class="reference internal" href="index.html">The Level Editor</a><ul class="current">
  59. <li class="toctree-l2"><a class="reference internal" href="level_editor.html">Editor overview</a></li>
  60. <li class="toctree-l2"><a class="reference internal" href="project_browser.html">Project Browser</a></li>
  61. <li class="toctree-l2"><a class="reference internal" href="console.html">Console</a></li>
  62. <li class="toctree-l2"><a class="reference internal" href="inspector.html">Inspector</a></li>
  63. <li class="toctree-l2"><a class="reference internal" href="level_tree.html">Level Tree</a></li>
  64. <li class="toctree-l2"><a class="reference internal" href="level_viewport.html">Level Viewport</a></li>
  65. <li class="toctree-l2 current"><a class="current reference internal" href="#">Texture Settings</a><ul>
  66. <li class="toctree-l3"><a class="reference internal" href="#overview">Overview</a></li>
  67. <li class="toctree-l3"><a class="reference internal" href="#output">Output</a><ul>
  68. <li class="toctree-l4"><a class="reference internal" href="#format">Format</a></li>
  69. <li class="toctree-l4"><a class="reference internal" href="#mip-mapping">Mip-mapping</a></li>
  70. <li class="toctree-l4"><a class="reference internal" href="#other-flags">Other flags</a></li>
  71. </ul>
  72. </li>
  73. <li class="toctree-l3"><a class="reference internal" href="#saving-changes">Saving changes</a></li>
  74. </ul>
  75. </li>
  76. </ul>
  77. </li>
  78. <li class="toctree-l1"><a class="reference internal" href="../importing_resources/index.html">Importing Resources</a></li>
  79. <li class="toctree-l1"><a class="reference internal" href="../units/index.html">Units</a></li>
  80. <li class="toctree-l1"><a class="reference internal" href="../gameplay/index.html">Writing Gameplay</a></li>
  81. <li class="toctree-l1"><a class="reference internal" href="../deploying/index.html">Deploying</a></li>
  82. <li class="toctree-l1"><a class="reference internal" href="../reference/index.html">Reference</a></li>
  83. <li class="toctree-l1"><a class="reference internal" href="../lua_api.html">Lua API reference</a></li>
  84. <li class="toctree-l1"><a class="reference internal" href="../glossary.html">Glossary</a></li>
  85. <li class="toctree-l1"><a class="reference internal" href="../copyright.html">License</a></li>
  86. <li class="toctree-l1"><a class="reference internal" href="../hackers/index.html">Engine Hackers</a></li>
  87. </ul>
  88. </div>
  89. </div>
  90. </nav>
  91. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
  92. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  93. <a href="../index.html">Crown 0.60.0 Manual</a>
  94. </nav>
  95. <div class="wy-nav-content">
  96. <div class="rst-content">
  97. <div role="navigation" aria-label="Page navigation">
  98. <ul class="wy-breadcrumbs">
  99. <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
  100. <li><a href="index.html">The Level Editor</a> &raquo;</li>
  101. <li>Texture Settings</li>
  102. <li class="wy-breadcrumbs-aside">
  103. <a href="../_sources/level_editor/texture_settings.rst.txt" rel="nofollow"> View page source</a>
  104. </li>
  105. </ul>
  106. <hr/>
  107. </div>
  108. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  109. <div itemprop="articleBody">
  110. <section id="texture-settings">
  111. <h1>Texture Settings<a class="headerlink" href="#texture-settings" title="Permalink to this headline">¶</a></h1>
  112. <p>The Texture Settings dialog lets you customize how Crown processes a texture
  113. for each target platform. To open it, double-click a texture in the
  114. <a class="reference internal" href="project_browser.html#project-browser"><span class="std std-ref">Project Browser</span></a>; Crown will display a dialog similar to this:</p>
  115. <figure class="align-center" id="id2">
  116. <img alt="../_images/texture_settings_dialog.png" src="../_images/texture_settings_dialog.png" />
  117. <figcaption>
  118. <p><span class="caption-text">The Texture Settings dialog.</span><a class="headerlink" href="#id2" title="Permalink to this image">¶</a></p>
  119. </figcaption>
  120. </figure>
  121. <section id="overview">
  122. <h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
  123. <p>On the left, the <code class="docutils literal notranslate"><span class="pre">Target</span> <span class="pre">Platform</span></code> list shows the platforms you can
  124. configure. Select one or more platforms to edit their settings
  125. simultaneously. Use <code class="docutils literal notranslate"><span class="pre">Left</span> <span class="pre">Ctrl</span></code> to select or deselect multiple entries.</p>
  126. <p>After selecting platforms, the settings on the right update to reflect the
  127. current values. If the selected platforms have different values for a given
  128. option, a dash symbol (—) appears to indicate the inconsistency:</p>
  129. <figure class="align-center" id="id3">
  130. <img alt="../_images/texture_settings_inconsistent_format.svg" src="../_images/texture_settings_inconsistent_format.svg" /><figcaption>
  131. <p><span class="caption-text">Inconsistent format values indicated by a dash symbol.</span><a class="headerlink" href="#id3" title="Permalink to this image">¶</a></p>
  132. </figcaption>
  133. </figure>
  134. </section>
  135. <section id="output">
  136. <h2>Output<a class="headerlink" href="#output" title="Permalink to this headline">¶</a></h2>
  137. <p>Output settings control how Crown processes the source image into GPU-ready
  138. assets. These settings are applied per platform so you can accommodate each
  139. platform’s performance and form-factor constraints.</p>
  140. <section id="format">
  141. <h3>Format<a class="headerlink" href="#format" title="Permalink to this headline">¶</a></h3>
  142. <p>Choose the output format appropriate for the texture type and platform:</p>
  143. <ul class="simple">
  144. <li><p><code class="docutils literal notranslate"><span class="pre">BC1</span></code>: RGB color with 1-bit alpha; good for opaque color maps.</p></li>
  145. <li><p><code class="docutils literal notranslate"><span class="pre">BC2</span></code>: RGB color with 4-bits alpha.</p></li>
  146. <li><p><code class="docutils literal notranslate"><span class="pre">BC3</span></code>: RGB color with full alpha.</p></li>
  147. <li><p><code class="docutils literal notranslate"><span class="pre">BC4</span></code>: Single-channel (grayscale); useful for heightmaps, font atlases etc.</p></li>
  148. <li><p><code class="docutils literal notranslate"><span class="pre">BC5</span></code>: Two-channel BC4 useful for tangent-space normal maps.</p></li>
  149. <li><p><code class="docutils literal notranslate"><span class="pre">PTC14</span></code>: RGB compressed format.</p></li>
  150. <li><p><code class="docutils literal notranslate"><span class="pre">RGB8</span></code>: Uncompressed RGB (8-bits per channel).</p></li>
  151. <li><p><code class="docutils literal notranslate"><span class="pre">RGBA8</span></code>: Uncompressed RGBA (8-bits per channel).</p></li>
  152. </ul>
  153. <p>For a technical reference on BCn formats, see <a class="reference external" href="https://web.archive.org/web/20260120185114/https://www.reedbeta.com/blog/understanding-bcn-texture-compression-formats/">Understanding BCn Texture Compression Formats</a>.</p>
  154. </section>
  155. <section id="mip-mapping">
  156. <h3>Mip-mapping<a class="headerlink" href="#mip-mapping" title="Permalink to this headline">¶</a></h3>
  157. <p>Control mipmap generation with these options:</p>
  158. <ul class="simple">
  159. <li><p><code class="docutils literal notranslate"><span class="pre">Generate</span> <span class="pre">Mips</span></code>: enable or disable automatic mipmap generation.</p></li>
  160. <li><p><code class="docutils literal notranslate"><span class="pre">Skip</span> <span class="pre">Smallest</span> <span class="pre">Mips</span></code>: skip generation of the N smallest mip levels to save space.</p></li>
  161. </ul>
  162. </section>
  163. <section id="other-flags">
  164. <h3>Other flags<a class="headerlink" href="#other-flags" title="Permalink to this headline">¶</a></h3>
  165. <ul class="simple">
  166. <li><p><code class="docutils literal notranslate"><span class="pre">Normal</span> <span class="pre">Map</span></code>: mark the texture as a normal map. This implies linear color
  167. processing.</p></li>
  168. <li><p><code class="docutils literal notranslate"><span class="pre">Linear</span></code>: treat the source as linear data. By default textures are
  169. interpreted as sRGB and are converted to linear space during processing;
  170. enable <code class="docutils literal notranslate"><span class="pre">Linear</span></code> for data textures such as normal maps, LUTs etc.</p></li>
  171. <li><p><code class="docutils literal notranslate"><span class="pre">Premultiply</span> <span class="pre">Alpha</span></code> - premultiply RGB by alpha before encoding. See
  172. <a class="reference external" href="https://web.archive.org/web/20260110150156/https://shawnhargreaves.com/blog/premultiplied-alpha.html">here</a>
  173. and <a class="reference external" href="https://web.archive.org/web/20260103191804/https://shawnhargreaves.com/blog/premultiplied-alpha-and-image-composition.html">here</a>
  174. for details.</p></li>
  175. </ul>
  176. </section>
  177. </section>
  178. <section id="saving-changes">
  179. <h2>Saving changes<a class="headerlink" href="#saving-changes" title="Permalink to this headline">¶</a></h2>
  180. <p>When you are finished, click the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">&amp;</span> <span class="pre">Reload</span></code> button at the top right.
  181. Crown saves the <code class="docutils literal notranslate"><span class="pre">.texture</span></code> resource, compiles it for the affected
  182. platforms, and reloads the texture in all viewports and in the running game
  183. if any.</p>
  184. </section>
  185. </section>
  186. </div>
  187. </div>
  188. <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
  189. <a href="level_viewport.html" class="btn btn-neutral float-left" title="Level Viewport" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
  190. <a href="../importing_resources/index.html" class="btn btn-neutral float-right" title="Importing Resources" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
  191. </div>
  192. <hr/>
  193. <div role="contentinfo">
  194. <p>&#169; <a href="../copyright.html">Copyright</a> Except where otherwise noted, content on this page is licensed under a CC-BY-SA 4.0 Int. License.
  195. <span class="lastupdated">Last updated on Feb 16, 2026.
  196. </span></p>
  197. </div>
  198. Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
  199. <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
  200. provided by <a href="https://readthedocs.org">Read the Docs</a>.
  201. </footer>
  202. </div>
  203. </div>
  204. </section>
  205. </div>
  206. <script>
  207. jQuery(function () {
  208. SphinxRtdTheme.Navigation.enable(true);
  209. });
  210. </script>
  211. <!-- Theme Analytics -->
  212. <script async src="https://www.googletagmanager.com/gtag/js?id=G-XNVGCMNDZH"></script>
  213. <script>
  214. window.dataLayer = window.dataLayer || [];
  215. function gtag(){dataLayer.push(arguments);}
  216. gtag('js', new Date());
  217. gtag('config', 'G-XNVGCMNDZH', {
  218. 'anonymize_ip': true,
  219. });
  220. </script>
  221. </body>
  222. </html>