[osg-users] bluring model edges
guy at dvp.co.il
Mon Mar 23 00:08:18 PDT 2009
I never tried it but you should enable GL_POLYGON_SMOOTH, and enable
alpha blending for the object you want to 'blur'.
osg::StateSet * stateset = geode->getOrCreateStateSet();
osg::BlendFunc *fn = new osg::BlendFunc();
Is it possible to blur the edges of a model in OSG with whatever is
Currently the edges of the models in my scene are too sharp and would
look better if there was a translucent overlap at the edges.
Is this possible to achieve in OSG, or is this kind of functionality
more relevant to OpenGL?
Read this topic online here:
osg-users mailing list
osg-users at lists.openscenegraph.org
More information about the osg-users