I’ve been messing around with patterns in the brush engine and find I’d like to have a way to control the pattern’s contribution to the brush with pen pressure. So that at 0 pressure, no pattern would be applied to the stroke, only the brush tip as defined in the brush.
Also, I’d like the pattern to be dithered in rather than blended with multiply or subtract, since those don’t look very nice on their own IMO. I’ve made a mockup of what I mean, including my proposal for how the math could work, if it’s possible:
So we calculate [ strength ] - [ pattern ] and then increase the contrast of the result considerably. One way to do this would be to just multiply the result by e.g. 1000, assuming the result is clipped to 8-bit color range. (a bit ugly, I know.)
Then we subtract the result from the alpha of the brush tip.
My question is, can we do this kind of contrast adjustment after the pattern strength curve is applied?