Search Unity

Combine lots of Sprites in Single Menderer

Discussion in 'Assets and Asset Store' started by Sandler, Jul 10, 2019.

  1. Sandler

    Sandler

    Joined:
    Nov 6, 2015
    Posts:
    241
    Hi i would be looking for a tool that can combine unity spirtes into single meshes.

    Basically it should combine sprites with the same atlas and layout (simple, sliced, etc) into one mesh.
    Is there a tool that can do that?
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,639
    What sort of mesh? What do you need it for?
    Why not just make a quad and use the sprite atlas as it's texture?
     
  3. Sandler

    Sandler

    Joined:
    Nov 6, 2015
    Posts:
    241
    i want to reduce the number of gameobjects. i basicaly abused them for drawing
     
  4. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,639
    Are you talking about background stuff that doesn't move? Is your background made-up of thousands of tiny objects? You can render your entire background to a set of big render textures (I wouldn't go over 4096x4096 pixels per texture. )
    https://docs.unity3d.com/Manual/class-RenderTexture.html

    Then you can put your render textures on really big quads and deactivate your original background objects.

    I wouldn't bother doing this unless you've profiled you're build and have found a real performance issue, though.