Welcome,
Guest
. Please
login
or
register
.
April 24, 2026, 10:50:10 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Ugly black lines using TiledSprite
« previous
next »
Print
Pages: [
1
]
Author
Topic: Ugly black lines using TiledSprite (Read 2980 times)
TJHeuvel
Guest
Ugly black lines using TiledSprite
«
on:
February 08, 2013, 08:25:41 AM »
Hello,
When using tiled sprites we get some flickering dark lines when the texture repeats.
Its dependant on the camera position/size. Is there any way to fix this? Its pretty consistant, other panels have the same problems.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Ugly black lines using TiledSprite
«
Reply #1 on:
February 08, 2013, 08:30:51 AM »
Give your tiled sprite a border of 1 pixel.
Logged
TJHeuvel
Guest
Re: Ugly black lines using TiledSprite
«
Reply #2 on:
February 08, 2013, 08:39:28 AM »
Thanks for the fast reply!
These are the settings we use, i've tried a) not using custom packer, b) increasing the padding, b) not trimming alpha. None of them seem to work.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Ugly black lines using TiledSprite
«
Reply #3 on:
February 08, 2013, 09:31:46 AM »
Wrong place.
Click the "Edit" button (top right of your screenshot), then choose your sprite and give it a 1 pixel border all around.
Logged
TJHeuvel
Guest
Re: Ugly black lines using TiledSprite
«
Reply #4 on:
February 08, 2013, 09:33:43 AM »
Will try, thank you.
*Edit: Works like a charm! Thanks a ton, great support.
«
Last Edit: February 08, 2013, 10:04:23 AM by TJHeuvel
»
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Ugly black lines using TiledSprite