X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fshadowmap.h;h=af3cf6f72c2b9af398e7faa317f6fdeaa810627f;hb=01d2500733766710f4a11f49216a5b3dcc75a4a3;hp=11407462c3e1922c48cd9bb0b3725829e207f595;hpb=7cbe8cc9893fe14f889321bd55e78b0ed6503e23;p=libs%2Fgl.git diff --git a/source/shadowmap.h b/source/shadowmap.h index 11407462..af3cf6f7 100644 --- a/source/shadowmap.h +++ b/source/shadowmap.h @@ -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 &);