Hello Guest

Author Topic: I have created a texture which is 1024x1024, why is my atlas 2048x2048?  (Read 9729 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
By default, 2d Toolkit will insert 2 pixels of padding around your texture to support automatic downsampling for iPhone 3g(s). This is also required when linear filtering is used to have correct edge seams. If you are drawing pixel art and are not going to have filtering enabled, tick Pixel Perfect Point Sampled in the Sprite Collection set-up. This will remove the padding around your texture, and the size will be exactly the same as your source image. However, when you do this, you will not be able to have smooth filtering when upscaling your sprites.