From Mike Weiblen, added support for OpenGL SL to osgFX::Cartoon.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user