官术网_书友最值得收藏!

Textures - Power of 2 sizes

If your textures are for 3D models and meshes (not sprites or GUI elements), then make their dimensions power-2 size for best results. The textures needn't be square (equal in width and height), but each dimension should be from a range of power-2 sizes--though some target platforms and situations make this a requirement. Valid sizes include 32, 64, 128, 256, 512, 1024, 2048, 4096, and 8192. Sizing textures to a power-2 dimension helps Unity scale textures up and down as well as copy pixels between textures as needed, across the widest range of graphical hardware:

Creating textures at power-2 sizes

When creating textures, it's always best to design for the largest possible power-2 size you'll need (as opposed to the largest possible size allowed), and then to downscale wherever appropriate to smaller power-2 sizes for older hardware and weaker systems, such as mobile devices. For each imported texture, you can use the Unity platform tabs from the Inspector object to specify an appropriate maximum size for each texture on a specific platform: one for desktop systems, one for Android, one for iOS, and so on. This caps the maximum size allowed for the selected target on a per-platform basis. This value should be the smallest size that is compatible with your artistic intentions and intended quality:

Overriding texture sizes for other platforms
主站蜘蛛池模板: 林西县| 本溪市| 白城市| 东至县| 锡林郭勒盟| 平顶山市| 平阳县| 布拖县| 嘉鱼县| 翁源县| 泰来县| 惠州市| 崇明县| 浪卡子县| 平顶山市| 泽普县| 诏安县| 嘉峪关市| 武城县| 商南县| 宜黄县| 沾益县| 新乐市| 清河县| 淳安县| 溆浦县| 礼泉县| 黄山市| 独山县| 永昌县| 昌吉市| 清原| 厦门市| 淳安县| 鄂伦春自治旗| 鹿邑县| 汤阴县| 会昌县| 石阡县| 湘潭县| 太康县|