Hi, Programming shaders is something that I can't teach to you, and is something related to OpenGL more than to OSG. I can point you to the OpenGL Orange book, hopefully you get more background of this general questions. I didn't code any environmental mapping shader so I cannot give you any code. But I think it's worth you learn basic OpenGL shaders and then go for something more complicated. Anyway, I guess at this point, probably, you don't need to show environmental mapping textures, only to show textures. So go and try other model which do not use environmental textures.
Cheers. 2012/5/15 Rghima Ahlem <[email protected]> > Hi, > > I'm a new an osg. Have you a sample of a shader? > > Thank you! > > Cheers, > Rghima > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=47717#47717 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com Instituto de Automática e Informática Industrial http://www.ai2.upv.es
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

