Hello Guest

Author Topic: Downscaling atlas texture  (Read 4234 times)

lukasz.hacura

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Downscaling atlas texture
« on: November 04, 2016, 10:51:19 am »
Hi,

We're optimizing our games' memory usage and would like to scale down the source textures to decrease the resulting atlas texture size without any changes in the game (except quality loss). The atlas I'm working on is 2k x 2k  uncompressed. I've already tried to set Rescale parameter value to 0.5 and work with ortho size and sprite scale on Sprite Collection but there's always a problem with sliced sprites. Is there any way to that not breaking every sliced sprite in the game?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Downscaling atlas texture
« Reply #1 on: November 15, 2016, 10:55:32 pm »
I've noticed the issue - sliced sprites are scaling incorrectly with the "Rescale" option. I will investigate this.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Downscaling atlas texture
« Reply #2 on: November 29, 2016, 07:25:00 pm »
Hi there,
This has been fixed in the latest 2D Toolkit, which I expect to release shortly.
If you need a fix sooner, let me know and I'll give you a patch.