1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 06:49:55 +00:00
openmw-tes3mp/apps/openmw/mwrender/shadow.hpp

25 lines
538 B
C++

#ifndef OPENMW_MWRENDER_SHADOW_H
#define OPENMW_MWRENDER_SHADOW_H
#include <osgShadow/ViewDependentShadowMap>
namespace MWRender
{
class MWShadow : public osgShadow::ViewDependentShadowMap
{
public:
MWShadow();
virtual void cull(osgUtil::CullVisitor& cv);
protected:
osg::ref_ptr<osg::Camera> debugCamera;
osg::ref_ptr<osg::Program> debugProgram;
osg::ref_ptr<osg::Node> debugGeometry;
osg::ref_ptr<osg::Texture2D> testTex;
};
}
#endif //OPENMW_MWRENDER_SHADOW_H