Hi Alexandre, Does the scene graph code you have inherited contain use of osgFX::BumpMapping?
osgFX::BumpingMapping It's a really ancient bit of the OSG so it's really how I'd tackle it these days but it provides the old style osg::VertexProgram and FragmentProgram. Have a look at the OpenSceneGraph/src/osgFX/BumpMapping.cpp so see what it's doing. Robert. On 4 February 2015 at 23:57, Alexandre Vaillancourt < [email protected]> wrote: > Hi All, > > I'm not too knowledgeable in the field of shaders and bump map, but lately > I've had the task of fixing something related to it in our software. > > The issue is that some faces in our software are bumpmapped (I see the 3 > different texture units used in the .osg file, as well as in the original > .flt model), but the node itself does not seem to have an osg::Program (nor > osg::VertexProgram or osg::FragmentProgram) part of its stateset's state > attributes. > > The question is this: is it possible that there is a way that a chunk of > code of OSG could set up bump mapping on a node by itsefl and NOT add an > osg::Program to it? For instance, if it finds more than one texture units > in the .osg file, it would find a way to add a shader to enable the bump > maping..? > > I'm really wondering how that node could be bump mapped... > > Thanks > > -- > Alexandre Vaillancourt > > _______________________________________________ > 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

