AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Unity texturepacker minecraft2/28/2023 The size of our texture is 754x754, if we had choose RGBA 32 compression it would have consumed 2.2 MB. The scene uses only one texture for the whole scene - already good benefit - but we can squeeze even more. There are further optimizations that can be done. You can view a preview of the scene in the web player here: The entire scene with almost 100 objects and 50 animations has only 1 Draw Call, 1 Texture, and uses only 1MB of memory. The complete scene can be found here: Assets/Extensions/TexturePacker/Tutorial/Scenes/AtlasesAnim See the MyFireAnimation, MyTeslaAnimation and MyMeshTexture classes. You always can automate this process using extensions, there are a few examples of how do this inside the package. You can try other meshes and experiment with different TPMeshAnimation options. Now press play and you will see fireball animation playing on the cube.
0 Comments
Read More
Leave a Reply. |