#include "shader_manager.h"
#include "texture.h"
+#undef DRAW_NORMALS
+
/* skybox */
static Mesh *skymesh; /* it will be used by many renderers => no destroy */
object->mesh->draw();
- /* debug
+ // debug
+#ifdef DRAW_NORMALS
if(nprog) {
int loc = nprog->get_uniform_location("mmviewproj");
if(loc != -1) {
nprog->use();
object->mesh->draw_normals(1.0);
}
- */
-
- // if(m->dtex)
- // m->dtex->unbind();
+#endif
}
void Renderer::set_sky_tex(Texture *stex)