代码之家  ›  专栏  ›  技术社区  ›  Roberto ragul ml

为什么向atlas添加纹理不能降低内存消耗?

  •  2
  • Roberto ragul ml  · 技术社区  · 8 年前

    我在UI中使用了一个NPOT精灵,Unity将其预览如下:

    texture not added to atlas

    当我添加 Unity将显示以下内容:

    texture added to atlas

    注意,Unity一直说需要8.2MB。我原以为会少一些,但当分析我的应用程序,我看到它确实需要8MB。

    我使用的是Unity 2018.1.7f1,旧版Sprite Packer已禁用。

    1 回复  |  直到 8 年前
        1
  •  0
  •   Roberto ragul ml    7 年前

    正如我在提问中所说, Spritateatlas先生 here ),因此没有创建地图集。

    部分原因是Unity的错误,因为它在预览窗口中错误地显示了“Compressed PVRTC”,这让我觉得它被打包了。