Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - whisp

Pages: [1]
1
NGUI 3 Support / Re: UISprite: 1 pixel borders flicker when object is moved
« on: December 08, 2014, 08:41:04 AM »
Thank you!

Rounding to integers works, there's no flickering anymore and in general it looks better than the flickering borders. However, it is choppy instead: it's clearly visible that it is moving pixel wise, i wouldn't have expected it to be so noticeable, since actually everything is moving pixel-wise. This must be the color-interpolation magic my sprites miss now.

2
NGUI 3 Support / UISprite: 1 pixel borders flicker when object is moved
« on: December 07, 2014, 05:32:47 PM »
Hi,

I'm moving a prefab made from a couple of UISprites by script: Basically a frame, marking a moving object in the game. Unfortunately the borders of that frame are flickering when the prefab is moving.

Basically the prefab is made from 3 sprites: One with a background texture, one with colored corners, one with differently colored borders. Both, the colored corners as well as the colored borders, are 1 pixel wide. The textures are all at a size of a power of two (and are imported in original size into the atlas). The problem doesn't occure when the borders are wider than 1 pixel.

Can i do something to fix that problem (other than making wider borders)?

Thanks for any hints,
whisp

Pages: [1]