From 80caa830dfc37ac1c28c837d08cb774eac428600 Mon Sep 17 00:00:00 2001 From: pouillot Date: Wed, 2 Feb 2011 14:04:31 +0000 Subject: [PATCH] Re #249 Increase background darkness when rainy weather and sky dome disabled git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3300 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: c50f63503300c6c6b220fe9147b9066fccfc0e16 Former-commit-id: d0051ba07149c5d51db2a338e33d7afbebe91c3d --- src/modules/graphic/ssggraph/grbackground.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphic/ssggraph/grbackground.cpp b/src/modules/graphic/ssggraph/grbackground.cpp index d82f03130..d8b3f861a 100755 --- a/src/modules/graphic/ssggraph/grbackground.cpp +++ b/src/modules/graphic/ssggraph/grbackground.cpp @@ -414,7 +414,7 @@ grLoadBackground(void) glClearColor(graphic->bgColor[0], graphic->bgColor[1], graphic->bgColor[2], 1.0); TheBackground = new ssgRoot(); - clr[0] = clr[1] = clr[2] = 1.0 / (1.0 + 0.5 * grTrack->local.rain); //1.0; + clr[0] = clr[1] = clr[2] = 1.0 / (1.0 + 1.0 * grTrack->local.rain); clr[3] = 1.0; nrm[0] = nrm[2] = 0.0; nrm[1] = 1.0;