vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CreateShadowedScene.h
Go to the documentation of this file.
1
#ifndef CREATESHADOWEDSCENE_H
2
#define CREATESHADOWEDSCENE_H
3
4
#include <osg/Node>
5
#include <osg/Vec3>
6
7
// function to create a lightsource which contain a shadower and showed subgraph,
8
// the showadowed subgrph has a cull callback to fire off a pre render to texture
9
// of the shadowed subgraph.
10
extern
osg::Group*
createShadowedScene
(osg::Node* shadower,osg::Node* shadowed,
const
osg::Vec3& lightPosition,
float
radius,
unsigned
int
textureUnit=1);
11
12
#endif
13
14
//$Id: CreateShadowedScene.h 1 2010-10-27 12:01:29Z xbezdeka $
include
vreckoAP
behindO
CreateShadowedScene.h
Generated on Tue Feb 19 2013 10:23:42 for vrecko by
1.8.3.1