1
0
Fork 0

Tweaked thresholds for staging in ground lighting.

This commit is contained in:
curt 2000-12-05 18:58:05 +00:00
parent 2baba715b4
commit 174553feef

View file

@ -218,11 +218,11 @@ void FGTileEntry::prep_ssg_node( const Point3D& p, float vis) {
// select which set of lights based on sun angle // select which set of lights based on sun angle
float sun_angle = cur_light_params.sun_angle * RAD_TO_DEG; float sun_angle = cur_light_params.sun_angle * RAD_TO_DEG;
if ( sun_angle > 100 ) { if ( sun_angle > 98 ) {
lights_brightness->select(0x04); lights_brightness->select(0x04);
} else if ( sun_angle > 95.5 ) { } else if ( sun_angle > 93.5 ) {
lights_brightness->select(0x02); lights_brightness->select(0x02);
} else if ( sun_angle > 91 ) { } else if ( sun_angle > 89 ) {
lights_brightness->select(0x01); lights_brightness->select(0x01);
} else { } else {
lights_brightness->select(0x00); lights_brightness->select(0x00);