From Mike Weiblen, added support for OpenGL SL to osgFX::Cartoon.

This commit is contained in:
Robert Osfield
2003-10-05 11:42:26 +00:00
parent d97720be18
commit 5c17b5059a
6 changed files with 134 additions and 8 deletions

View File

@@ -49,9 +49,10 @@ namespace osgFX
"the first one draws solid surfaces, the second one draws the outlines. "
"A vertex program is used to setup texture coordinates for a sharp lighting "
"texture on unit 0 which is generated on-the-fly.\n"
"This effect requires the ARB_vertex_program extension.",
"This effect requires the ARB_vertex_program extension "
"or OpenGL Shading Language.",
"Marco Jez");
"Marco Jez; OGLSL port by Mike Weiblen");
/** get the outline color */
inline const osg::Vec4 &getOutlineColor() const;

View File

@@ -11,7 +11,7 @@
*/
/* file: include/osgGL2/ProgramObject
* author: Mike Weiblen 2003-09-18
* author: Mike Weiblen 2003-10-03
*
* See http://www.3dlabs.com/opengl2/ for more information regarding
* the OpenGL Shading Language.
@@ -28,6 +28,7 @@
#include <osg/Vec2>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osg/Notify>
#include <osgGL2/Export>
#include <osgGL2/Extensions>