]> git.mxchange.org Git - flightgear.git/commit
#591: night-time rendering issues, avoid negative color values
authorThorstenB <brehmt@gmail.com>
Sun, 5 Feb 2012 14:13:58 +0000 (15:13 +0100)
committerThorstenB <brehmt@gmail.com>
Sun, 5 Feb 2012 14:14:30 +0000 (15:14 +0100)
commit0b049c877ab31f8fde3179c4a2704e65ba24e6e1
treed40e44a1e8454e23949045c71d9fcf5c34dda5a0
parent62dfa8cc6452de22a10802789850218ba85a9ae0
#591: night-time rendering issues, avoid negative color values
Fog color became negative at certain sun angles (around midnight), which
resulted in weird sky dome coloring issues.
Hack: simply clamp the value for now.
src/Time/light.cxx