#include <osg/ref_ptr>
#include <osg/Vec4f>
Go to the source code of this file.
|
void | SceneUtil::addLight (osg::Group *node, const ESM::Light *esmLight, unsigned int partsysMask, unsigned int lightMask, bool isExterior, bool outQuadInLin, bool useQuadratic, float quadraticValue, float quadraticRadiusMult, bool useLinear, float linearRadiusMult, float linearValue) |
| Convert an ESM::Light to a SceneUtil::LightSource, and add it to a sub graph. More...
|
|
osg::ref_ptr< LightSource > | SceneUtil::createLightSource (const ESM::Light *esmLight, unsigned int lightMask, bool isExterior, bool outQuadInLin, bool useQuadratic, float quadraticValue, float quadraticRadiusMult, bool useLinear, float linearRadiusMult, float linearValue, const osg::Vec4f &ambient=osg::Vec4f(0, 0, 0, 1)) |
| Convert an ESM::Light to a SceneUtil::LightSource, and return it. More...
|
|