J.P.,thanks for answer,  your post make me to check texture coords, i have 
added tcoords for second texture (same as for the first texture), what a simple:

screenQuad->setTexCoordArray(0, tcoords);
screenQuad->setTexCoordArray(1, tcoords);

and result:
[Image: http://www.imgshare.cz/images/multipqmq.jpg ]
Textures ok, but scene still very dark ... 

changes in code:
1) replace:
texenv->setMode(osg::TexEnv::DECAL);
//texenv->setMode(osg::TexEnv::BLEND);

2) rem this line:
//quadState->setTextureAttributeAndModes(1, texgen, osg::StateAttribute::ON);

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to