47 "This effect implements a technique called 'Cel-Shading' to produce a "
48 "cartoon-style (non photorealistic) rendering. Two passes are required: "
49 "the first one draws solid surfaces, the second one draws the outlines. "
50 "A vertex program is used to setup texture coordinates for a sharp lighting "
51 "texture on unit 0 which is generated on-the-fly.\n"
52 "This effect requires the ARB_vertex_program extension "
53 "or OpenGL Shading Language.",
55 "Marco Jez; OGLSL port by Mike Weiblen");
101 return _wf_lw->getWidth();
int getLightNumber() const
Definition Cartoon:109
void setLightNumber(int n)
Definition Cartoon:114
void setOutlineColor(const osg::Vec4 &color)
Definition Cartoon:94
META_Effect(osgFX, Cartoon, "Cartoon", "This effect implements a technique called 'Cel-Shading' to produce a " "cartoon-style (non photorealistic) rendering. Two passes are required: " "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 " "or OpenGL Shading Language.", "Marco Jez; OGLSL port by Mike Weiblen")
const osg::Vec4 & getOutlineColor() const
Definition Cartoon:89
Cartoon & operator=(const Cartoon &)
Definition Cartoon:77
void setOutlineLineWidth(float w)
Definition Cartoon:104
Cartoon(const Cartoon ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
float getOutlineLineWidth() const
Definition Cartoon:99
virtual ~Cartoon()
Definition Cartoon:76
void dirtyTechniques()
Definition Effect:207
@ SHALLOW_COPY
Definition CopyOp:47
@ FRONT_AND_BACK
Definition Material:102
Definition AnisotropicLighting:25
Vec4f Vec4
Definition Vec4:21
#define OSGFX_EXPORT
Definition osgFX/Export:27