Real life Paint GLBlenFunc

83 views Asked by At

What GLBlendFunc would solve this problem?

I am currently using:
glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);

I want the paint app to act like real paint would, but it seems that when using a lower opacity color, it won't paint over a solid white color.

Here is my example enter image description here

What I am expecting is that in Step 3 the light pink paint would still paint lightly over the previous white strokes even though the opacity is at 0.1 not 1.0

I would like it to behave other paint app. These example is from Photoshop. enter image description here

0

There are 0 answers