Author Topic: Question on Unwanted Fade Out at Edge of Texture  (Read 1797 times)

blitzer

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 52
    • View Profile
Question on Unwanted Fade Out at Edge of Texture
« on: April 30, 2014, 03:41:39 PM »
I've noticed that on a solid white 64x64 image, the image begins to fade out before it reaches the edge of its own border. Of course changing the filtering can solve this issue, but changing the filtering of a individual texture seems to do nothing, and changing the atlas filtering mode can have undesired consequences to other textures.

So I had these questions:
-For cases like this, is it  a good practice just to make separate atlases with different filtering modes?
-Are individual texture's filtering mode (and other settings) overridden by the atlas settings (I would think so but just to be sure)?

Any clarification is appreciated.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Question on Unwanted Fade Out at Edge of Texture
« Reply #1 on: April 30, 2014, 05:57:34 PM »
If you upscale the sprite then yes, you will start seeing pixels "bleeding through". It's the case with any texture, but can be especially noticeable with sprites.

You can choose to edit the sprite and give it a border (clamped in your case), then change the sprite to be either Tiled, or Sliced.

blitzer

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 52
    • View Profile
Re: Question on Unwanted Fade Out at Edge of Texture
« Reply #2 on: May 01, 2014, 12:04:39 AM »
I see, thank you.