image
image copied to clipboard
Alpha blending should be performed in linear color space
It is generally better to perform alpha blending in linear color space, that's e.g. how it is usually performed on GPU. Here are some example pictures which show difference between gamma-correct and gamma-incorrect blending.