slowly optimizing render

This commit is contained in:
andreja6
2019-11-07 22:30:56 -08:00
parent f99e6cbff7
commit 1688865462

View File

@@ -592,7 +592,7 @@ void Application::onGraphics(RenderDevice* rd) {
// Setup lighting // Setup lighting
renderDevice->enableLighting(); renderDevice->enableLighting();
renderDevice->setShadeMode(RenderDevice::SHADE_SMOOTH); //renderDevice->setShadeMode(RenderDevice::SHADE_SMOOTH);
renderDevice->setAmbientLightColor(Color3(1,1,1)); renderDevice->setAmbientLightColor(Color3(1,1,1));
renderDevice->setLight(0, GLight::directional(lighting.lightDirection, lighting.lightColor)); renderDevice->setLight(0, GLight::directional(lighting.lightDirection, lighting.lightColor));