#ifndef OPENMW_MWRENDER_SHADOW_H #define OPENMW_MWRENDER_SHADOW_H #include namespace MWRender { class MWShadow : public osgShadow::ViewDependentShadowMap { public: static const int numberOfShadowMapsPerLight = 2; static const bool debugHud = true; MWShadow(); virtual void cull(osgUtil::CullVisitor& cv); protected: const int debugTextureUnit; std::vector> debugCameras; osg::ref_ptr debugProgram; std::vector> debugGeometry; }; } #endif //OPENMW_MWRENDER_SHADOW_H