]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shadowmap.h
Provide the necessary uniforms from ShadowMap
[libs/gl.git] / source / shadowmap.h
index 11407462c3e1922c48cd9bb0b3725829e207f595..af3cf6f72c2b9af398e7faa317f6fdeaa810627f 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "effect.h"
 #include "framebuffer.h"
+#include "programdata.h"
 #include "texture2d.h"
 #include "vector.h"
 
@@ -28,6 +29,7 @@ private:
        Texture2D depth_buf;
        Vector3 target;
        float radius;
+       ProgramData shdata;
 
 public:
        ShadowMap(unsigned, const Renderable &, const Light &);