Changeset 13041 for OpenSceneGraph/trunk/include/osgShadow/ShadowSettings
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgShadow/ShadowSettings
r12887 r13041 38 38 unsigned int getBaseShadowTextureUnit() const { return _baseShadowTextureUnit; } 39 39 40 /** Set whether to use osg::StateAttribute::OVERRIDE for the shadow map texture. 40 /** Set whether to use osg::StateAttribute::OVERRIDE for the shadow map texture. 41 41 * Enabling override will force the shadow map texture to override any texture set on the shadow maps texture unit.*/ 42 42 void setUseOverrideForShadowMapTexture(bool useOverride) { _useShadowMapTextureOverride = useOverride; } … … 73 73 double getPerspectiveShadowMapCutOffAngle() const { return _perspectiveShadowMapCutOffAngle; } 74 74 75 75 76 76 void setNumShadowMapsPerLight(unsigned int numShadowMaps) { _numShadowMapsPerLight = numShadowMaps; } 77 77 unsigned int getNumShadowMapsPerLight() const { return _numShadowMapsPerLight; } … … 85 85 void setMultipleShadowMapHint(MultipleShadowMapHint hint) { _multipleShadowMapHint = hint; } 86 86 MultipleShadowMapHint getMultipleShadowMapHint() const { return _multipleShadowMapHint; } 87 87 88 88 89 89 enum ShaderHint … … 96 96 void setShaderHint(ShaderHint shaderHint) { _shaderHint = shaderHint; } 97 97 ShaderHint getShaderHint() const { return _shaderHint; } 98 98 99 99 void setDebugDraw(bool debugDraw) { _debugDraw = debugDraw; } 100 100 bool getDebugDraw() const { return _debugDraw; } 101 101 102 102 protected: 103 103 … … 115 115 unsigned int _numShadowMapsPerLight; 116 116 MultipleShadowMapHint _multipleShadowMapHint; 117 117 118 118 ShaderHint _shaderHint; 119 119 bool _debugDraw;
