The attached ReaderWriterGLSL.cpp conveniently sets the shader type when the filename extension is "vert" or "frag" but still lets this be overridden by the Options (for those crazy people who store their fragment shaders in .vert files :) ).
-- Bryan Thrall FlightSafety International [email protected]
ReaderWriterGLSL.cpp
Description: ReaderWriterGLSL.cpp
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
