textures change after texturepacker conversion...
#1
Hi guys,

After running my textures through texturepacker, some appear differently. Here's an example (scroll bar)...

before...

Image

after...

Image

Any idea why this would happen. That particular texture is just standard photoshop RGB 8bit.

Cheers
Reply
#2
This happens when the texture is very small... you can try adding border="1" to the texture which mostly helps or you have to use a slightly bigger texture.
Image
Reply
#3
Have a similar problem with some packed textures.
Another strange behaviour i've noticed, when i download my modded skin fusion migma v2 from my repository it shows fine, but if i download the same version via xbmc passion repo i have similar effects you've posted in your screenshots.

Will post some screenshots when i get home this evening.

Hope really someone comes up and can explain why this happens Smile


Edit: Just saw black's post.

Sadly it's not only happening with small textures, i have a bigger background showing different before and after packing the textures.



Reply
#4
(2012-05-14, 13:26)`Black Wrote: This happens when the texture is very small... you can try adding border="1" to the texture which mostly helps or you have to use a slightly bigger texture.

Hey Black,

The two textures i'm seeing this with are both 6x6 pixels, then stretched using code dimensions, so that may well be the problem. I'll try increasing there size.

Cheers
Reply
#5
You should be fine with textures 4x4 or bigger.

My guess is that you are using 1px padding around textures and this does not work well with progress/scroll bars if you do not force border.
My skins:

Amber
Quartz

Reply
#6
As 'black said, just add border="1" to your smaller textures.

Code:
<texturesliderbarfocus border="1">common/scroll_bar_focus.png</texturesliderbarfocus>

Image
Reply
#7
Yeah, the 1 pixel border sorted. Cheers guys.
Reply

Logout Mark Read Team Forum Stats Members Help
textures change after texturepacker conversion...0