Show
Ignore:
Timestamp:
10/21/14 17:10:27 (9 hours 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/examples/osgshadow/osgshadow.cpp

    r13078 r13099  
    837837    osg::ref_ptr<osgShadow::ShadowedScene> shadowedScene = new osgShadow::ShadowedScene; 
    838838 
    839     shadowedScene->setReceivesShadowTraversalMask(ReceivesShadowTraversalMask); 
    840     shadowedScene->setCastsShadowTraversalMask(CastsShadowTraversalMask); 
     839    shadowedScene->getShadowSettings()->setReceivesShadowTraversalMask(ReceivesShadowTraversalMask); 
     840    shadowedScene->getShadowSettings()->setCastsShadowTraversalMask(CastsShadowTraversalMask); 
    841841 
    842842    osg::ref_ptr<osgShadow::MinimalShadowMap> msm = NULL;