From 174553feefd3ebb105958978991220bdade44c60 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 5 Dec 2000 18:58:05 +0000 Subject: [PATCH] Tweaked thresholds for staging in ground lighting. --- src/Scenery/tileentry.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Scenery/tileentry.cxx b/src/Scenery/tileentry.cxx index eacd0ea42..c1cc51470 100644 --- a/src/Scenery/tileentry.cxx +++ b/src/Scenery/tileentry.cxx @@ -218,11 +218,11 @@ void FGTileEntry::prep_ssg_node( const Point3D& p, float vis) { // select which set of lights based on sun angle float sun_angle = cur_light_params.sun_angle * RAD_TO_DEG; - if ( sun_angle > 100 ) { + if ( sun_angle > 98 ) { lights_brightness->select(0x04); - } else if ( sun_angle > 95.5 ) { + } else if ( sun_angle > 93.5 ) { lights_brightness->select(0x02); - } else if ( sun_angle > 91 ) { + } else if ( sun_angle > 89 ) { lights_brightness->select(0x01); } else { lights_brightness->select(0x00); -- 2.39.5