Welcome,
Guest
. Please
login
or
register
.
December 11, 2023, 08:26:12 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas texture settings to prevent distortion of scaled down sprites?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Atlas texture settings to prevent distortion of scaled down sprites? (Read 2312 times)
Fordeka
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 20
Atlas texture settings to prevent distortion of scaled down sprites?
«
on:
October 31, 2012, 02:19:30 PM »
Basically I want to create thumbnails of full size sprites by just scaling down the full size sprites (so I can use the same image in the atlas for both sizes)- it looks fine on my PC but when I build to an iPad 2 there are severe artifacts around the edges of the scaled down sprites. Is there any way to get around this problem?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Atlas texture settings to prevent distortion of scaled down sprites?
«
Reply #1 on:
October 31, 2012, 03:26:17 PM »
That's caused by texture filtering and not much can be done about that. I suggest creating thumbnails dynamically if possible -- or just having two atlases -- one with the original large images, and another with thumbnails.
Logged
Fordeka
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 20
Re: Atlas texture settings to prevent distortion of scaled down sprites?
«
Reply #2 on:
November 01, 2012, 07:38:57 AM »
It actually turned out to be caused by sandwiching it between sprites from a different atlas- fiddling with the depth seems to have fixed it but there doesn't seem to be a way to have a sprite on top with alpha blend onto it without the distortions happening. If the sprite isn't on top it is distorted.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Atlas texture settings to prevent distortion of scaled down sprites?
«
Reply #3 on:
November 01, 2012, 09:38:44 AM »
A pic would help.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas texture settings to prevent distortion of scaled down sprites?