drawpile / Drawpile

A collaborative drawing program
http://drawpile.net/
GNU General Public License v3.0
1.03k stars 130 forks source link

Support blend mode selection for MyPaint brushes #1274

Open askmeaboutlo0m opened 5 months ago

askmeaboutlo0m commented 5 months ago

MyPaint brushes currently don't let you select the blend mode like classic brushes do. Instead, you can only toggle them between normal, alpha lock and erase mode. You can also enable colorize and posterize for them via their settings. In fact, you can actually mix those blend modes together in different ratios.

That's neat, but not relevant for most brushes. Having blend modes available, especially Behind, Hue, Saturation and Value, would be more useful. Drawpile already extends MyPaint brushes in a similar way to support indirect mode.

This needs some thinking of how to stuff it into the protocol in a sensible way. There's still some bits free in the MyPaint commands I think.

Credit Meru with suggesting.