Show
Ignore:
Timestamp:
10/21/14 17:10:27 (2 days ago)
Author:
robert
Message:

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

Files:
1 modified

Legend:

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

    r13108 r13110  
    1313 
    1414#include <osgShadow/ShadowSettings> 
     15#include <float.h> 
    1516 
    1617using namespace osgShadow; 
     
    2526    _textureSize(2048,2048), 
    2627    _minimumShadowMapNearFarRatio(0.05), 
     28    _maximumShadowMapDistance(DBL_MAX), 
    2729    _shadowMapProjectionHint(PERSPECTIVE_SHADOW_MAP), 
    2830    _perspectiveShadowMapCutOffAngle(2.0), 
     
    4749    _textureSize(ss._textureSize), 
    4850    _minimumShadowMapNearFarRatio(ss._minimumShadowMapNearFarRatio), 
     51    _maximumShadowMapDistance(ss._maximumShadowMapDistance), 
    4952    _shadowMapProjectionHint(ss._shadowMapProjectionHint), 
    5053    _perspectiveShadowMapCutOffAngle(ss._perspectiveShadowMapCutOffAngle),