]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shadowmap.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / shadowmap.h
index fe36fca0e5bac9e6e7eff35f3a33065d9fb3d85e..e142fc8cafdd56023459035f53d48e73205c997b 100644 (file)
@@ -27,12 +27,15 @@ private:
        Framebuffer fbo;
        Matrix shadow_matrix;
        Texture2D depth_buf;
+       RefPtr<Sampler> sampler;
        Vector3 target;
        float radius;
        float depth_bias;
        mutable ProgramData shdata;
        bool rendered;
 
+       static WeakPtr<Sampler> shadow_sampler;
+
 public:
        ShadowMap(unsigned, Renderable &, const Light &);