Re: [osg-users] shader implementation - newbie

2009-04-25 Thread Robert Osfield
HI Sajjad, osg::Program has have a list of shaders, think of shaders like .cpp's that go together to make a C++ program. You can have just the main or a whole series of separate files. The osg::Program is what tells the OSG/OpenGL what shaders should linked together to make the final program dow

[osg-users] shader implementation - newbie

2009-04-24 Thread ami guru
Hello forum, I am trying to implement some of the shaders in a single OSG application. At the same time i was going through the osgshaders example and if i have understood that correctly, i saw that the example has separate osg::program for different shaders I was wondering if it is possible to