Given the cost of rebuilding the texture atlases, it is imperative to minimize during rebuilds.
鉴于重建纹理图集的成本,就必须在重建过程中尽量减少重建纹理图集。
Use texture atlases (large images containing a collection of sub-images) instead of a number of individual textures. These are faster to load, have fewer state switches, and are batching friendly.
使用纹理精灵(一张大贴图里包含了很多子贴图)来代替一系列单独的小贴图。它们可以更快地被加载,具有很少的状态转换,而且批处理更友好。
应用推荐