fixed terrain rendering - visualized normals
[demo] / src / renderer.h
index 07db322..c3fb0bf 100644 (file)
@@ -16,10 +16,13 @@ protected:
 
        ShaderProgram *sprog;
 
+       /* debug shader to draw normals */
+       ShaderProgram *nprog;
+
        Texture *skytex, *dskytex;
 
        virtual void draw_object(Object *object) const;
-       virtual void draw_skybox();
+       virtual void draw_skybox() const;
 
 public:
        Scene *scene;