GLPaint brush effect with blur and bevel

I am working on a graphical application based on GLPaint code. Does anyone know how to achieve this effect? I tried with different widths and heights for the brush, but still remains the same.

Do I need to consider glBlendFunc ()? or Whether a complete change in the width and height of the brush is achievable.

Thanks in advance. enter image description here

+4
source share
2 answers

The easiest way to achieve this effect is to reduce alpha from 1.0 to 0.7.

+1
source

In PaintingView Change Brush Height and Width , as shown in the following figure ... And one more thing - change the brush image to suit your requirements for a greater color effect.

enter image description here

Hope this helps you.

+1
source

Source: https://habr.com/ru/post/1397862/


All Articles