]> git.mxchange.org Git - flightgear.git/commit
#591: Fix sky flickering at certain sun/view angles
authorThorstenB <brehmt@gmail.com>
Wed, 7 Mar 2012 19:43:52 +0000 (20:43 +0100)
committerThorstenB <brehmt@gmail.com>
Wed, 7 Mar 2012 19:43:52 +0000 (20:43 +0100)
commitdb098593beb38c41886c9e98240ec29615076c60
treec4c8b5becb1664bf5056214fae1a023426973b3b
parent644bb8c4f4dc65f38d32f70ef686a4fd79cfe08d
#591: Fix sky flickering at certain sun/view angles
Commit 5f0066c resulted in an incorrect angle calculation. At certain view/sun
angles "hor_rotation" and "rf1" would skip from the minimum to the maximum
value).
Also, an offset angle of 90 degrees (PI/2) is added, which seems to align
the sky effect with the sun position. Calculation is probably still wrong,
but seems less wrong than before - and the flickering is gone...
src/Time/light.cxx