[osg-users] How to replace the texture data in the node?

Judy 515415812 at qq.com
Wed Apr 5 05:39:45 PDT 2017

Hi ,
As a beginner of openscenegraph. I have used a terrain(.flt) as a node,but the texture data of this node doesn't have alpha value, So I want to create a new Texture data(with alpha) to replace the exist Texture.At the same time I hope to copy the former texture data in a different texture unit so that I can use it next time.
Now my question is how to replace the exist texture with a new texture, and keep a texture copy in a different texture unit?is there any functions I can use?
Best Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170405/3be07636/attachment-0001.htm>

More information about the osg-users mailing list