Hi jp,

thanks a lot. Changing texture mode a below helped to get the right values.


Code:
osg::ref_ptr<osg::TexEnv> texEnv = new osg::TexEnv;
  texEnv->setMode(osg::TexEnv::REPLACE);
  state->setTextureAttributeAndModes(0,texEnv.get(),osg::StateAttribute::ON);



Thanks again
Jiri

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7599#7599





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to