srgb textures, cubemap support
[demo] / src / renderer.h
index 8f19243..efbab80 100644 (file)
@@ -14,6 +14,7 @@ protected:
        int mmviewproj_loc;
        int mview_loc;
 
+       Texture *skytex, *dskytex;
        ShaderProgram *sprog;
        virtual void draw_object(Object *object) const;
 
@@ -26,6 +27,9 @@ public:
 
        virtual bool create();
        virtual void draw() const;
+
+       virtual void set_sky_tex(Texture *stex);
+       virtual void set_diffuse_sky_tex(Texture *dstex);
 };
 
 #endif // RENDERER_H_
\ No newline at end of file