Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: realblues on August 22, 2012, 07:29:18 PM
-
Simply I used 2 solid colored image to UI sprite.
the problem is.. sprite has a black outline. I want it's own color.
I didn't touch any settings for atlas material and texture.
Can I Have Some Solution?
and one more request is support mouse wheel scroll in widget tool.
I have too many sprites, it takes time to select without scroll in widget tool. mouse wheel scroll seems not support.. is it?
attachment:
test.png, test1.png : sprite source
gamepanel.png : Screenshot in GamePanel
ScenePanel.png : Zoomed shot in ScenePanel
-
Convert your PNG to a TGA file, then you'll be able to see what's really there in the RGB channel. My guess is -- it's black.
PNGs suck.
-
Thanks for reply,
I changed test.png to test.tga, but there seems no black (see attachment)
and just tried make atlas tga and bmp converting from this png, but it still have a outline.
am I approaching wrong way?
-
Ah, that may be other sprites bleeding through. Long story short: when zooming in a sprite you will always see parts of another showing through like that. You can fix it by either not enlarging your sprite, by setting it up as a sliced sprite (giving it border) and using a sliced sprite to draw it, or by setting up a border and using a tiled sprite to draw it.
-
oh, it solved. ;D
sliced sprite seems not work either but tiled sprite worked.
thanks.
-
hmm.. but would it be solved from the root by usnig UISprite? just curious :D
-
Not quite sure what you mean there.