[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!
Ravi
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68515#68515
More information about the osg-users
mailing list