UI troubleshooting - ac-custom-shaders-patch/acc-lua-sdk GitHub Wiki
Drawn images look darker in semi-transparent areas
If you have an image which, when drawn, looks like this:
instead of this:
simply surround drawing with ui.beginPremultipliedAlphaTexture()
/ui.endPremultipliedAlphaTexture()
, as it is a good sign you’re dealing with image with premultiplied alpha.