texture_settings.html 15 KB

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