Added fallback base texture

This commit is contained in:
Robert Osfield
2011-08-29 10:26:05 +00:00
parent 2d71a390d3
commit 47db350da1
2 changed files with 23 additions and 2 deletions

View File

@@ -208,6 +208,8 @@ protected:
osg::ref_ptr<osg::StateSet> _shadowCastingStateSet;
osg::ref_ptr<osg::PolygonOffset> _polygonOffset;
osg::ref_ptr<osg::Texture2D> _fallbackBaseTexture;
osg::ref_ptr<osg::Texture2D> _fallbackShadowMapTexture;
typedef std::vector< osg::ref_ptr<osg::Uniform> > Uniforms;
Uniforms _uniforms;