From 17bd4e53b2c1334cd4c429e5a7947b64a901a387 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sat, 20 Mar 2010 16:20:53 +0000 Subject: [PATCH] Tweak the lighting model a tiny bit --- src/Light.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Light.cpp b/src/Light.cpp index 83a3d7d..cb75b88 100644 --- a/src/Light.cpp +++ b/src/Light.cpp @@ -28,9 +28,9 @@ struct SunLight : ILight { const GLfloat globalAmbient[] = { 0.0f, 0.0f, 0.0f, 1.0f }; glLightModelfv(GL_LIGHT_MODEL_AMBIENT, globalAmbient); - const GLfloat ambient[] = { 0.5f, 0.5f, 0.5f, 1.0f }; + const GLfloat ambient[] = { 0.45f, 0.45f, 0.45f, 1.0f }; //const GLfloat diffuse[] = { 0.4f, 0.4f, 0.4f, 1.0f }; - const GLfloat diffuse[] = { 0.5f, 0.5f, 0.5f, 1.0f }; + const GLfloat diffuse[] = { 0.55f, 0.55f, 0.55f, 1.0f }; //const GLfloat specular[] = { 0.4f, 0.4f, 0.4f, 1.0f }; const GLfloat specular[] = { 0.0f, 0.0f, 0.0f, 1.0f }; const GLfloat position[] = { 1.0f, 3.0f, 1.0f, -- 2.39.2