[osg-users] Adding an alpha channel to a texture?
Himar Carmona
himarcarmona at gmail.com
Tue Dec 4 15:40:49 PST 2007
Hi,
i think you are asking for the *texture blending* functions. In OSG look at
BlendFunc, BlendEquation and BlendColor. Sure there is a combination of the
blending factors to achieve the effect you want. See osgblendequation. You
can also program a shader of course. Another trick could be applying by
default a transparent texture (at a scene node that is parent of your
geometry) when you don't have any and apply the texture to your geometry
with Override on.
Hope this helps.
Himar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071204/f9e07d46/attachment.html
More information about the osg-users
mailing list