Author Topic: Resizing large images (2d Sprite or NGUI textures)  (Read 1709 times)

Tatanan

  • Jr. Member
  • **
  • Thank You
  • -Given: 11
  • -Receive: 0
  • Posts: 81
    • View Profile
    • Casual Arena
Resizing large images (2d Sprite or NGUI textures)
« on: July 17, 2015, 06:03:23 AM »
I have an image very large (2000x1500)  which I use sometimes scaled at 30%.
I use it with 2D Sprites or just UI Textures, but when scaling it (to smaller), it shows it "ugly", without quality.
I don't know the verb in English for this effect.

How can I use large images without losing quality when using them resized to small?
Game developer on Casual Arena.

Leopotam

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 7
    • View Profile
Re: Resizing large images (2d Sprite or NGUI textures)
« Reply #1 on: July 19, 2015, 03:22:58 PM »
Use POT (power of two) textures with size 2-4-8-16-32-64-128-256-512-1024-2048-4096-8192 on side + enable mipmaps.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Resizing large images (2d Sprite or NGUI textures)
« Reply #2 on: July 21, 2015, 11:38:01 AM »
The only way to "not lose quality" of images that were scaled down is to scale them down beforehand in Photoshop or similar.