From 9b3abbec89059fea6a09f6e4bf33b59e2c56e2bb Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 27 May 2004 18:00:03 +0000 Subject: [PATCH] Tweak the bump-mapped 2d cloud color a bit. --- simgear/scene/sky/cloud.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index b376b88b..319467eb 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -1012,6 +1012,7 @@ void SGCloudLayer::draw( bool top ) { sgVec4 color; ssgGetLight( 0 )->getColour( GL_DIFFUSE, color ); float average = ( color[0] + color[1] + color[2] ) / 3.0f; + average = 0.15 + average/10; sgVec4 averageColor; sgSetVec4( averageColor, average, average, average, 1.0f ); ssgGetLight( 0 )->setColour( GL_DIFFUSE, averageColor ); -- 2.39.5