{"id":1556,"date":"2026-09-11T23:28:02","date_gmt":"2026-09-11T23:28:02","guid":{"rendered":"https:\/\/x.sheep-mine.ts.net\/index.php\/63827post_2\/"},"modified":"2026-09-11T23:28:02","modified_gmt":"2026-09-11T23:28:02","slug":"63827post_2","status":"publish","type":"post","link":"https:\/\/x.sheep-mine.ts.net\/index.php\/63827post_2\/","title":{"rendered":"What is the maximum texture resolution to choose?"},"content":{"rendered":"<p><br \/>\n<\/p>\n<div id=\"post_1\">\n<div class=\"post\" itemprop=\"text\">\n<p>Hi all!<\/p>\n<p>I am using Cocos Creator version 3.8.8.<\/p>\n<p>The build will be done for the following platforms: web-desktop, web-mobile and Android (possibly also iOS). Basically, I want to support a wide range of devices. This raises several questions:<\/p>\n<p><strong>What is the maximum texture resolution I should use?<\/strong> I can\u2019t decide between 2048&#215;2048 and 4096&#215;4096. It seems like 4096&#215;4096 should theoretically work everywhere, but the recommendation in the <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/docs.phaser.io\/phaser\/concepts\/textures#textures\" rel=\"noopener nofollow ugc\">Phaser.js<\/a> documentation is alarming:<\/p>\n<blockquote>\n<p>2048px for mobile and 4096px for desktop should be safe.<\/p>\n<\/blockquote>\n<p><strong>Does the texture size necessarily have to be a power of two?<\/strong> As far as I understand, this is not necessary, but desirable for better performance.<\/p>\n<p><strong>Should the texture be square?<\/strong> As far as I understand, the sides do not have to be the same size and this does not affect performance.<\/p>\n<p>In general, I myself have always leaned towards 2048&#215;2048 as the maximum texture size (however, in this project I was given very large textures).<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<div id=\"post_2\" itemprop=\"comment\" itemscope=\"\" itemtype=\"http:\/\/schema.org\/Comment\">\n<div class=\"post\" itemprop=\"text\">\n<p>For projects targeting web, Android, and iOS, I generally treat 2048\u00d72048 as the safest default maximum texture size, especially if compatibility with older or mid-range mobile devices is important. While many modern GPUs support 4096\u00d74096, larger textures increase memory usage and may negatively affect loading times or performance on lower-end hardware. Cocos developers have also noted that sticking to 4096 or below is the safer choice for Web<a>, <\/a> depending on the target platform.<\/p>\n<p>Regarding the other questions, power-of-two (POT) textures are no longer a strict requirement on modern hardware, but they can still offer better compatibility and are useful for features like mipmaps and texture compression. Non-square textures are also perfectly acceptable, provided the dimensions are appropriate for the content. Overall, I\u2019d optimize textures based on their actual on-screen size rather than always using the highest possible resolution.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p><br \/>\n<br \/><a href=\"https:\/\/forum.cocosengine.org\/t\/what-is-the-maximum-texture-resolution-to-choose\/63827#post_2\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi all! I am using Cocos Creator version 3.8.8. The build will be done for&#8230;<\/p>\n","protected":false},"author":1,"featured_media":305,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1556","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/posts\/1556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/comments?post=1556"}],"version-history":[{"count":0,"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/posts\/1556\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/media\/305"}],"wp:attachment":[{"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/media?parent=1556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/categories?post=1556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/x.sheep-mine.ts.net\/index.php\/wp-json\/wp\/v2\/tags?post=1556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}