X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Frenderer.h;h=c3fb0bf900c86676e6e9d4f73c66bf67e9f326d9;hb=243eb502c5dc70e586a9e81815234069bf623480;hp=8f192430a269e4b118c44334dff9dd81b6f3bb21;hpb=c0915f6cc7bf834c5d745f2be0e218715a9dc845;p=demo diff --git a/src/renderer.h b/src/renderer.h index 8f19243..c3fb0bf 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -15,7 +15,14 @@ protected: int mview_loc; ShaderProgram *sprog; + + /* debug shader to draw normals */ + ShaderProgram *nprog; + + Texture *skytex, *dskytex; + virtual void draw_object(Object *object) const; + virtual void draw_skybox() const; public: Scene *scene; @@ -26,6 +33,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