TimChang

Hello eveyone , I want keep drawcall is lowser with mutil spine.
So I knew a spine project can export a texture , it can batch drawcall well , But how can I batch mutil spine texture?
I mean is it possible let few spine project share an atlas ? becase I want to drawcall batched. :think:
TimChang
  • Mensajes: 2

Harald

You can also create a shared atlas texture for multiple skeletons by using the Spine Texture Packer separately, as described here (also packing by folder could perhaps be interesting):
Texture Packing - Spine User Guide: Using the Spine Texture Packer separately

You can also automate the export or packing process via the command line interface:
Export - Spine User Guide: Command line
For example, here is a script we use to export all the Spine example projects and to create texture atlases:
spine-runtimes/export.sh at 3.8
Avatar de Usuario
Harald

Harri
  • Mensajes: 1727

TimChang

Thanks your help . I done it. 001.spine & 002.spine only export .json to unity , And new a TexturePacker.spine for create shared atals and just import .atlas .png to unity.
擷取.PNG
No tienes los permisos requeridos para ver los archivos adjuntos a este mensaje.
TimChang
  • Mensajes: 2

Harald

Glad it helped, thanks for getting back to us.
Avatar de Usuario
Harald

Harri
  • Mensajes: 1727


Volver a Unity