D
djrain
Guest
I have the "interpolate colors between pixels" setting on, but it's causing ugly black outlines on my sprites like this:
Oddly enough, I've noticed that the problem isn't as bad for the same sprite when it is created through code (first one was placed in the room editor). See how this one, which gets created by the first one, looks better:
I can't imagine why that would be, but it seems inconsistent anyhow.
From what I understand, the outline is due to the invisible edge pixels getting blended into the result, but I'm still not sure what would be the best way to fix it. I tried changing the alpha test value, which effectively removes the outline but also makes other areas look terrible... What's the best solution? How do you guys handle this? (Assume that turning interpolation off is not an option.)
Oddly enough, I've noticed that the problem isn't as bad for the same sprite when it is created through code (first one was placed in the room editor). See how this one, which gets created by the first one, looks better:
I can't imagine why that would be, but it seems inconsistent anyhow.
From what I understand, the outline is due to the invisible edge pixels getting blended into the result, but I'm still not sure what would be the best way to fix it. I tried changing the alpha test value, which effectively removes the outline but also makes other areas look terrible... What's the best solution? How do you guys handle this? (Assume that turning interpolation off is not an option.)