Hi James, On Thu, Sep 22, 2011 at 2:56 AM, James Klink <chinadian1...@yahoo.com> wrote: > I'm having problems texturing triangles. Currently I'm using setState along > with an osg::Texture2D to texture a series of triangles. The thing is, I want > one face of the triangle to have one texture, and the other face of the > triangle to have a different texture. So when looking at two different sides > the user will see two different things.
OpenGL and hence the OSG don't support this directly. You can simulate it by rendering the geometry twice and using face culling to alternate enable the face culling the front and back faces and provide a different texture for each of these passes. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org