Show
Ignore:
Timestamp:
06/15/07 16:57:17 (8 years ago)
Author:
robert
Message:

Added default values for ambientBias

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgShadow/ShadowMap.cpp

    r6991 r6997  
    5050 
    5151ShadowMap::ShadowMap(): 
    52     _textureUnit(1) 
     52    _textureUnit(1), 
     53    _ambientBias(0.3f,1.2f) 
    5354{ 
    5455} 
     
    5657ShadowMap::ShadowMap(const ShadowMap& copy, const osg::CopyOp& copyop): 
    5758    ShadowTechnique(copy,copyop), 
    58     _textureUnit(copy._textureUnit) 
     59    _textureUnit(copy._textureUnit), 
     60    _ambientBias(copy._ambientBias) 
    5961{ 
    6062}