Added separate unform variable to keep track of abmient contribution.

This commit is contained in:
Robert Osfield 2007-12-15 15:19:18 +00:00
parent 2ab66d9948
commit af922cc355

View File

@ -98,6 +98,7 @@ class OSGSHADOW_EXPORT ShadowMap : public ShadowTechnique
osg::ref_ptr<osg::LightSource> _ls;
osg::ref_ptr<osg::Uniform> _ambientBiasUniform;
UniformList _uniformList;
ShaderList _shaderList;
unsigned int _baseTextureUnit;