Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: luque on May 04, 2012, 12:41:07 PM

Title: Seams when using tiled sprite
Post by: luque on May 04, 2012, 12:41:07 PM
Hiya!

First of all thanks for making this awesome plugin!

Now I am using tiled sprites and I'm quite sure the tiling in photoshop is 100% correct however I keep getting seams.

Any idea what it can be?

Thanks,

Luque
Title: Re: Seams when using tiled sprite
Post by: ArenMook on May 04, 2012, 12:42:02 PM
Yup, select your sprite and add a 1 pixel border. Another alternative is to switch your atlas to use Point filtering.
Title: Re: Seams when using tiled sprite
Post by: luque on May 04, 2012, 12:57:53 PM
Thanks for the quick reply. The point filtering does the job indeed but makes the rest of the texture a bit blurry.

I couldn't find the border option you mentioned. I have selected my tiled sprite in the hierarchy but I dont see any options for setting a border, or did you mean padding in the atlas options?

thanks again!

L
Title: Re: Seams when using tiled sprite
Post by: ArenMook on May 04, 2012, 01:07:36 PM
You need to select the atlas prefab, then choose your sprite. Border is specified by the boxes marked in blue.