[osg-users] Inherit parts of shader program

Ravi Mathur ravidavi at utexas.edu
Sun Sep 4 06:39:34 PDT 2016

Makes sense. My situation is simple; I have no need to override parts of shaders, just load a few fragment shaders from files. So I'm going with the simple approach of an osg::Program per osg::Drawable, with a shared Vertex osg::Shader and separate Fragment osg::Shaders.

Thanks for clearing things up!

Read this topic online here:

More information about the osg-users mailing list