From f1af1e33eb68c4d5bbafd803730e7bf078c353e0 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Fri, 11 Apr 2014 16:50:29 +0000 Subject: [PATCH] =?UTF-8?q?EgrGraphics=20:=20-=20attenuate=20le=20luci=20p?= =?UTF-8?q?er=20vedere=20le=20sfumature=20anche=20sui=20colori=20pi=C3=B9?= =?UTF-8?q?=20luminosi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SceneBasic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SceneBasic.cpp b/SceneBasic.cpp index 8956ee2..facb374 100644 --- a/SceneBasic.cpp +++ b/SceneBasic.cpp @@ -653,8 +653,8 @@ Scene::Draw( void) // imposto tipo shading glShadeModel( GL_SMOOTH) ; // imposto illuminazione - float LightAmbient[] = { 0.25f, 0.25f, 0.25f, 1.0f} ; - float LightStd[] = { 0.8f, 0.8f, 0.8f, 0.8f} ; + float LightAmbient[] = { 0.20f, 0.20f, 0.20f, 1.0f} ; + float LightStd[] = { 0.35f, 0.35f, 0.35f, 1.0f} ; float Light0Pos[] = { 0.8f, 0.9f, 1.2f, 0.0f} ; float Light1Pos[] = { -0.9f, -0.7f, 0.6f, 0.0f} ; glLightfv( GL_LIGHT0, GL_AMBIENT, LightAmbient) ;