texture_settings.html 14 KB

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