Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10. Latest code.
Issue description:
Fix Alpha Border doesn't have some influence on the imported texture. It doesn't fix white border of PNG exported from Photoshop
Steps to reproduce:
Import PNG with transparency
Link to minimal example project:
TESTPROJECT.zip
Issue occurs on 3.0. As I see in the code, the reason is in the absence of the next line in core/Image.cpp file (_Image::fix_alpha_edges()_ method):
closest_dist = dist;
before image data modifying:
_closest_color[0] = rp[0];
closest_color[1] = rp[1];
closest_color[2] = rp[2];_
I've tested and it fixes the issue.
@art-kandy Mind if you make a PR with your change?
We have some docs about making a PR if you need them.
Sorry, I'm not sure I can do it soon. Quite busy.
Yep. Closing.
Most helpful comment
@art-kandy Mind if you make a PR with your change?
We have some docs about making a PR if you need them.