texture_settings.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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="../rendering/index.html">Rendering</a></li>
  81. <li class="toctree-l1"><a class="reference internal" href="../gameplay/index.html">Writing Gameplay</a></li>
  82. <li class="toctree-l1"><a class="reference internal" href="../deploying/index.html">Deploying</a></li>
  83. <li class="toctree-l1"><a class="reference internal" href="../reference/index.html">Reference</a></li>
  84. <li class="toctree-l1"><a class="reference internal" href="../lua_api.html">Lua API reference</a></li>
  85. <li class="toctree-l1"><a class="reference internal" href="../glossary.html">Glossary</a></li>
  86. <li class="toctree-l1"><a class="reference internal" href="../copyright.html">License</a></li>
  87. <li class="toctree-l1"><a class="reference internal" href="../hackers/index.html">Engine Hackers</a></li>
  88. </ul>
  89. </div>
  90. </div>
  91. </nav>
  92. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
  93. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  94. <a href="../index.html">Crown 0.60.0 Manual</a>
  95. </nav>
  96. <div class="wy-nav-content">
  97. <div class="rst-content">
  98. <div role="navigation" aria-label="Page navigation">
  99. <ul class="wy-breadcrumbs">
  100. <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
  101. <li><a href="index.html">The Level Editor</a> &raquo;</li>
  102. <li>Texture Settings</li>
  103. <li class="wy-breadcrumbs-aside">
  104. <a href="../_sources/level_editor/texture_settings.rst.txt" rel="nofollow"> View page source</a>
  105. </li>
  106. </ul>
  107. <hr/>
  108. </div>
  109. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  110. <div itemprop="articleBody">
  111. <section id="texture-settings">
  112. <h1>Texture Settings<a class="headerlink" href="#texture-settings" title="Permalink to this headline">¶</a></h1>
  113. <p>The Texture Settings dialog lets you customize how Crown processes a texture
  114. for each target platform. To open it, double-click a texture in the
  115. <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>
  116. <figure class="align-center" id="id2">
  117. <img alt="../_images/texture_settings_dialog.png" src="../_images/texture_settings_dialog.png" />
  118. <figcaption>
  119. <p><span class="caption-text">The Texture Settings dialog.</span><a class="headerlink" href="#id2" title="Permalink to this image">¶</a></p>
  120. </figcaption>
  121. </figure>
  122. <section id="overview">
  123. <h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
  124. <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
  125. configure. Select one or more platforms to edit their settings
  126. 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>
  127. <p>After selecting platforms, the settings on the right update to reflect the
  128. current values. If the selected platforms have different values for a given
  129. option, a dash symbol (—) appears to indicate the inconsistency:</p>
  130. <figure class="align-center" id="id3">
  131. <img alt="../_images/texture_settings_inconsistent_format.svg" src="../_images/texture_settings_inconsistent_format.svg" /><figcaption>
  132. <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>
  133. </figcaption>
  134. </figure>
  135. </section>
  136. <section id="output">
  137. <h2>Output<a class="headerlink" href="#output" title="Permalink to this headline">¶</a></h2>
  138. <p>Output settings control how Crown processes the source image into GPU-ready
  139. assets. These settings are applied per platform so you can accommodate each
  140. platform’s performance and form-factor constraints.</p>
  141. <section id="format">
  142. <h3>Format<a class="headerlink" href="#format" title="Permalink to this headline">¶</a></h3>
  143. <p>Choose the output format appropriate for the texture type and platform:</p>
  144. <ul class="simple">
  145. <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>
  146. <li><p><code class="docutils literal notranslate"><span class="pre">BC2</span></code>: RGB color with 4-bits alpha.</p></li>
  147. <li><p><code class="docutils literal notranslate"><span class="pre">BC3</span></code>: RGB color with full alpha.</p></li>
  148. <li><p><code class="docutils literal notranslate"><span class="pre">BC4</span></code>: Single-channel (grayscale); useful for heightmaps, font atlases etc.</p></li>
  149. <li><p><code class="docutils literal notranslate"><span class="pre">BC5</span></code>: Two-channel BC4 useful for tangent-space normal maps.</p></li>
  150. <li><p><code class="docutils literal notranslate"><span class="pre">PTC14</span></code>: RGB compressed format.</p></li>
  151. <li><p><code class="docutils literal notranslate"><span class="pre">RGB8</span></code>: Uncompressed RGB (8-bits per channel).</p></li>
  152. <li><p><code class="docutils literal notranslate"><span class="pre">RGBA8</span></code>: Uncompressed RGBA (8-bits per channel).</p></li>
  153. </ul>
  154. <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>
  155. </section>
  156. <section id="mip-mapping">
  157. <h3>Mip-mapping<a class="headerlink" href="#mip-mapping" title="Permalink to this headline">¶</a></h3>
  158. <p>Control mipmap generation with these options:</p>
  159. <ul class="simple">
  160. <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>
  161. <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>
  162. </ul>
  163. </section>
  164. <section id="other-flags">
  165. <h3>Other flags<a class="headerlink" href="#other-flags" title="Permalink to this headline">¶</a></h3>
  166. <ul class="simple">
  167. <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
  168. processing.</p></li>
  169. <li><p><code class="docutils literal notranslate"><span class="pre">Linear</span></code>: treat the source as linear data. By default textures are
  170. interpreted as sRGB and are converted to linear space during processing;
  171. enable <code class="docutils literal notranslate"><span class="pre">Linear</span></code> for data textures such as normal maps, LUTs etc.</p></li>
  172. <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
  173. <a class="reference external" href="https://web.archive.org/web/20260110150156/https://shawnhargreaves.com/blog/premultiplied-alpha.html">here</a>
  174. and <a class="reference external" href="https://web.archive.org/web/20260103191804/https://shawnhargreaves.com/blog/premultiplied-alpha-and-image-composition.html">here</a>
  175. for details.</p></li>
  176. </ul>
  177. </section>
  178. </section>
  179. <section id="saving-changes">
  180. <h2>Saving changes<a class="headerlink" href="#saving-changes" title="Permalink to this headline">¶</a></h2>
  181. <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.
  182. Crown saves the <code class="docutils literal notranslate"><span class="pre">.texture</span></code> resource, compiles it for the affected
  183. platforms, and reloads the texture in all viewports and in the running game
  184. if any.</p>
  185. </section>
  186. </section>
  187. </div>
  188. </div>
  189. <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
  190. <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>
  191. <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>
  192. </div>
  193. <hr/>
  194. <div role="contentinfo">
  195. <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.
  196. <span class="lastupdated">Last updated on Feb 16, 2026.
  197. </span></p>
  198. </div>
  199. Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
  200. <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
  201. provided by <a href="https://readthedocs.org">Read the Docs</a>.
  202. </footer>
  203. </div>
  204. </div>
  205. </section>
  206. </div>
  207. <script>
  208. jQuery(function () {
  209. SphinxRtdTheme.Navigation.enable(true);
  210. });
  211. </script>
  212. <!-- Theme Analytics -->
  213. <script async src="https://www.googletagmanager.com/gtag/js?id=G-XNVGCMNDZH"></script>
  214. <script>
  215. window.dataLayer = window.dataLayer || [];
  216. function gtag(){dataLayer.push(arguments);}
  217. gtag('js', new Date());
  218. gtag('config', 'G-XNVGCMNDZH', {
  219. 'anonymize_ip': true,
  220. });
  221. </script>
  222. </body>
  223. </html>