#include <shadowcallback.h>
Public Member Functions | |
| ShadowDrawCallback (osg::Vec3 posOfLight, osg::CameraNode *cameraNode, osg::TexGenNode *texgenNode) | |
| creates the shadow draw callback for the shadowed scene note that the sky and the ground is not shadowed, use any playground for having shadows on the roof | |
| virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Protected Member Functions | |
| virtual | ~ShadowDrawCallback () |
Protected Attributes | |
| osg::Vec3 | posOfLight |
| osg::ref_ptr< osg::CameraNode > | _cameraNode |
| osg::ref_ptr< osg::TexGenNode > | _texgenNode |
|
||||||||||||||||
|
creates the shadow draw callback for the shadowed scene note that the sky and the ground is not shadowed, use any playground for having shadows on the roof
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
1.3.8