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:

image

instead of this:

image

simply surround drawing with ui.beginPremultipliedAlphaTexture()/ui.endPremultipliedAlphaTexture(), as it is a good sign you’re dealing with image with premultiplied alpha.