Inheritance diagram for osgShadow::SoftShadowMap:

| osgShadow::SoftShadowMap::SoftShadowMap | ( | ) |
| osgShadow::SoftShadowMap::SoftShadowMap | ( | const SoftShadowMap & | es, | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
| virtual osgShadow::SoftShadowMap::~SoftShadowMap | ( | ) | [inline, protected, virtual] |
| osgShadow::SoftShadowMap::META_Object | ( | osgShadow | , | |
| SoftShadowMap | ||||
| ) |
| void osgShadow::SoftShadowMap::setTextureUnit | ( | unsigned int | unit | ) |
Set the texture unit that the shadow texture will be applied on.
| unsigned int osgShadow::SoftShadowMap::getTextureUnit | ( | ) | const [inline] |
Get the texture unit that the shadow texture will be applied on.
| void osgShadow::SoftShadowMap::setAmbientBias | ( | const osg::Vec2 & | ambientBias | ) |
Set the values for the ambient bias the shader will use.
| void osgShadow::SoftShadowMap::setSoftnessWidth | ( | const float | softnesswidth | ) |
Set the values for width of the soft penumbra the shader will use. Zero is for hard shadow (no penumbra). 0.01 is already very soft penumbra. Default is 0.005.
| void osgShadow::SoftShadowMap::setJitteringScale | ( | const float | jitteringscale | ) |
Set the values for jittering scale the shader will use. Zero is no jittering (i.e. see the banding in penumbra) High values (>64) cause 'pixelization' of the penumbra. Usually but not necessarily power of two number. Default is 32.
| const osg::Vec2& osgShadow::SoftShadowMap::getAmbientBias | ( | ) | const [inline] |
Get the values that are used for the ambient bias in the shader.
| const float osgShadow::SoftShadowMap::getSoftnessWidth | ( | ) | const [inline] |
Get the value used for width of the soft penumbra in the shader.
| const float osgShadow::SoftShadowMap::getJitteringScale | ( | ) | const [inline] |
Get the value used for jittering scale in the shader.
| virtual void osgShadow::SoftShadowMap::init | ( | ) | [virtual] |
initialize the ShadowedScene and local cached data structures.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::SoftShadowMap::update | ( | osg::NodeVisitor & | nv | ) | [virtual] |
run the update traversal of the ShadowedScene and update any loca chached data structures.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::SoftShadowMap::cull | ( | osgUtil::CullVisitor & | cv | ) | [virtual] |
run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::SoftShadowMap::cleanSceneGraph | ( | ) | [virtual] |
Clean scene graph from any shadow technique specific nodes, state and drawables.
Reimplemented from osgShadow::ShadowTechnique.
| void osgShadow::SoftShadowMap::initJittering | ( | osg::StateSet * | ) | [protected] |
osg::ref_ptr<osg::Camera> osgShadow::SoftShadowMap::_camera [protected] |
osg::ref_ptr<osg::TexGen> osgShadow::SoftShadowMap::_texgen [protected] |
osg::ref_ptr<osg::Texture2D> osgShadow::SoftShadowMap::_texture [protected] |
osg::ref_ptr<osg::StateSet> osgShadow::SoftShadowMap::_stateset [protected] |
unsigned int osgShadow::SoftShadowMap::_textureUnit [protected] |
osg::Vec2 osgShadow::SoftShadowMap::_ambientBias [protected] |
float osgShadow::SoftShadowMap::_softnesswidth [protected] |
float osgShadow::SoftShadowMap::_jitteringscale [protected] |
1.5.1