flame
flame copied to clipboard
fix: Unmultiply before brightening
The image data read back is in a pre-multiplied state. Convert it back to straight alpha before brightening and then premultiply.
This just makes the colors go to white though:
You could alternatively use the HSV color space and increase the Value (brightness); this would be more subtle and keep the colors correct.