"Fix alpha transparency artifacts" does not work for moving sprites

According to docs turning on this option should resolve the issue of dark artifacts appearing close to the border of transparent images but I’m seeing this exact issue in my game even though this option is turned on. I have a couple of transparent images that are moving slowly through the scene and sometimes there are a few dark lines around the border of the image.
No matter whether this option is turned on or off this issue happens randomly and the worst part is that it’s not consistent so I can’t reproduce the issue consistently.

Are there any workarounds so that I can avoid this issue? I’m using Cocos Creator v3.7.3 btw. Thanks

This could be related to other texture settings, try to set wrap mode to CLAMP

1 Like

Thank you for the quick response. Wrap mode was already set to ‘Clamp’ so that wasn’t the issue. But I tried changing the Filter Mode from ‘Bilinear’ mode to other options and the problem disappears! So it seems like this issue only happens when the filter mode is set to ‘Bilinear’ and the other options do not have this problem.

If that’s the case, then that means your texture comes from an atlas texture, and the nearby textures have gray or dark edges, this should be avoided