GLPaint Brush Effect with blur and bevel

大城市里の小女人 提交于 2019-12-01 04:56:43

问题


I am working on a drawing application based on GLPaint code. Do somebody know how to get an effect like this ? I have tried with different values for the width and the Height for the brush, but still it remains same .

Do i need to consider glBlendFunc() ? or Is it achievable thorough changing the width and the heigh of the brush.

Thanks in advance.


回答1:


The easiest way to achieve that type of effect is to reducing the alpha from 1.0 to 0.7.




回答2:


In PaintingView Change Brush Height and Width as shown in following image...And One more thing is that change brush image according to your requirements for more color custom effect..

Hope, this will help you..



来源:https://stackoverflow.com/questions/9399852/glpaint-brush-effect-with-blur-and-bevel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!