- Timestamp:
- 03/21/12 18:36:20 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgShadow/ParallelSplitShadowMap
r12139 r13041 69 69 /** Set the texture resolution */ 70 70 inline void setTextureResolution(unsigned int resolution) { _resolution = resolution; } 71 71 72 72 /** Get the texture resolution */ 73 73 inline unsigned int getTextureResolution() const { return _resolution; } … … 87 87 /** Set min near distance for splits */ 88 88 inline void setMinNearDistanceForSplits(double nd){ _split_min_near_dist=nd; } 89 89 90 90 /** Get min near distance for splits */ 91 91 inline double getMinNearDistanceForSplits() const { return _split_min_near_dist; } … … 96 96 */ 97 97 inline void setUserLight(osg::Light* light) { _userLight = light; } 98 98 99 99 /** get the user defined light for shadow simulation */ 100 100 inline const osg::Light* getUserLight() const { return _userLight.get(); } … … 102 102 /** Set the values for the ambient bias the shader will use.*/ 103 103 void setAmbientBias(const osg::Vec2& ambientBias ); 104 104 105 105 /** Get the values for the ambient bias the shader will use.*/ 106 106 const osg::Vec2& getAmbientBias() const { return _ambientBias; } … … 130 130 /** set split calculation mode */ 131 131 inline void setSplitCalculationMode(SplitCalcMode scm=SPLIT_EXP) { _SplitCalcMode = scm; } 132 132 133 133 /** get split calculation mode */ 134 134 inline SplitCalcMode getSplitCalculationMode() const { return _SplitCalcMode; }
