Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

2 sprite textures, both 512x1024, in sprite packer become 2048x1024 :(

Discussion in 'UGUI & TextMesh Pro' started by Percy-Pea, Jun 17, 2016.

  1. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    I have two 512x1024 sprite textures. I want to use sprite packer to combine them into an atlas of just 1024x1024 pixesl. However, it insists of making it 2048x1024 pixels, presumably because it puts a couple of pixels padding between the two textures. Is there a way to turn this padding off? :)

    Thanks

    (If it helps, i'm using 5.3.5 and building for Android)
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,543
    I don't think you can turn that off. You could try to combine the textures yourself in some external editor and import that into Unity as a single texture ...
     
  3. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    Thanks, unfortunately my two textures are font textures, and i'm not quite sure how i'd then convert the UV coordinates so the two fonts know which characters to grab.