rsabbarton / PixelFlux

Pixel Art Sprite Creator
0 stars 0 forks source link

PixelBrush - Opacity inversion - Colour on Colour #48

Closed rsabbarton closed 1 year ago

rsabbarton commented 1 year ago

When painting colour over colour (in the same layer) the resulting opacity of the pixel is correct but the residual colour and new colour elements are inverse and less opacity reduces the amount of the original colour used instead of reducing the amount of the new colour used.

Steps to reproduce

rsabbarton commented 1 year ago

Fixed using color vectors. Interesting way to solve the problem. Will maybe write an article on it.