X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fshadowmap.h;fp=source%2Fshadowmap.h;h=af3cf6f72c2b9af398e7faa317f6fdeaa810627f;hb=a6c45f5cc50ea2ee2aecf8d4f3b69934e69c8f3f;hp=11407462c3e1922c48cd9bb0b3725829e207f595;hpb=0c731643d6363eb4c492e836ffb919cb7c0a3035;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 &);