]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shadowmap.h
Add an overload of bind_attribute that takes a VertexComponent
[libs/gl.git] / source / shadowmap.h
index aeabaeb19a89895c1ba07b5f3666d239d118c6b2..4903afeb711282bbfb80835cb9ec75edf1cc1037 100644 (file)
@@ -26,12 +26,14 @@ private:
        const Light &light;
        mutable Framebuffer fbo;
        mutable Matrix light_matrix;
+       mutable Matrix view_matrix;
+       mutable Matrix shadow_matrix;
        unsigned unit;
        Texture2D depth_buf;
        Vector3 target;
        float radius;
        float depth_bias;
-       ProgramData shdata;
+       mutable ProgramData shdata;
        mutable bool rendered;
 
 public: