Hi Sebastian, This suggest to me that an osg::TexEnv is needed somewhere in your scene graph to make sure the state is the one you intend.
Robert. On 19 January 2018 at 15:45, Sebastian Schmidt <[email protected]> wrote: > Found a dirty solution. Had nothing to with lighting. > It was easier for me to check for specific opengl calls inside drawable's > drawImplementation(). > > I had to reset this: > > Code: > glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); > > > with: > >> glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); >> glTexEnvfv( GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, >> osg::Vec4(0.0,0.0,0.0,0.0).ptr()); > > > Don't know why it happens with 3.4.1 and not with 3.0.1, coudln't find > changes related to TexEnv.[/code] > > ------------------------ > OSG Version: 3.0.1 > OS: OpenSuse Leap 42.1 > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=72797#72797 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

