#ifndef MSP_GL_SHADOWMAP_H_
#define MSP_GL_SHADOWMAP_H_
+#include "camera.h"
#include "effect.h"
#include "framebuffer.h"
#include "programdata.h"
unsigned size;
const Light &light;
Framebuffer fbo;
+ Camera shadow_camera;
Matrix shadow_matrix;
Texture2D depth_buf;
const Sampler &sampler;
virtual void setup_frame(Renderer &);
virtual void finish_frame();
- virtual void render(Renderer &, const Tag & = Tag()) const;
+ virtual void render(Renderer &, Tag = Tag()) const;
};
} // namespace GL