Tweaked thresholds for staging in ground lighting.
This commit is contained in:
parent
2baba715b4
commit
174553feef
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue