Undid commit #1688865, Fixed smooth verticies

This commit is contained in:
andreja6
2019-11-10 20:16:11 -08:00
parent 8926860107
commit 0269e63af9

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));