From 1688865462af53ca6be6001020b32dc10bad4c49 Mon Sep 17 00:00:00 2001 From: andreja6 Date: Thu, 7 Nov 2019 22:30:56 -0800 Subject: [PATCH] slowly optimizing render --- Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application.cpp b/Application.cpp index 79a1659..b194ead 100644 --- a/Application.cpp +++ b/Application.cpp @@ -592,7 +592,7 @@ void Application::onGraphics(RenderDevice* rd) { // Setup lighting renderDevice->enableLighting(); - renderDevice->setShadeMode(RenderDevice::SHADE_SMOOTH); + //renderDevice->setShadeMode(RenderDevice::SHADE_SMOOTH); renderDevice->setAmbientLightColor(Color3(1,1,1)); renderDevice->setLight(0, GLight::directional(lighting.lightDirection, lighting.lightColor));