Hi Nan, I can't found the bumpmap.vert file on internet.
But you can access to tankBodyNormalMap in shader this way: in the Vertex/Fragment Shader, declare uniform sampler2D normalMap; then use it like this: vec4 normalFromTexture = texture(normalMap, texCoord1); HTH David Callu 2011/5/4 Nan WANG <nan.c...@gmail.com> > > http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/ShadersUpdating > > Thank you! > > Cheers, > Nan > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=38986#38986 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org