![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: shadowEffect.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00009 00010 #ifndef ShadowEffect_H_ 00011 #define ShadowEffect_H_ 00012 00013 #include <osgFX/Effect> 00014 #include <makOsgShadowFX/DtShadowTechnique.h> 00015 00016 namespace makOsgShadowFX 00017 { 00018 00019 class DtShadowEffect : public osgFX::Effect 00020 { 00021 public: 00022 DtShadowEffect(int quality=1); 00023 DtShadowEffect(const DtShadowEffect& orig, const osg::CopyOp& copyop); 00024 00025 META_Effect(makOsgShadowFX, DtShadowEffect, "DtShadowEffect", "Adds shadows To a scene", "MAK Technologies"); 00026 00027 bool define_techniques(); 00028 00029 protected: 00030 ~DtShadowEffect(); 00031 00032 int myShadowMapQuality; 00033 int myShadowDistance; 00034 DtShadowImplEnum myShadowTechnique; 00035 00036 }; 00037 00038 } //makShadowFX:: 00039 00040 #endif