]> git.mxchange.org Git - simgear.git/commit
Set sun color below horizon
authorTorsten Dreyer <Torsten@t3r.de>
Wed, 8 Oct 2014 10:45:01 +0000 (12:45 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Wed, 8 Oct 2014 10:45:01 +0000 (12:45 +0200)
commit543f1b790289b0173fdcbecec5c810e7a3e0d471
tree3d8cee0d8468ef85b034184ba41d1e5a96f7b664
parent93a63a0678f199e683037e823ce63bb6eacd42f6
Set sun color below horizon

Thorsten Renk:
The following patch sets the sun color to alpha=0 when
the sun is below the local horizon, removing the oddity
that the sun is seen 'through' the terrain when the terrain
at large distance is rendered by the skydome.
simgear/scene/sky/oursun.cxx
simgear/scene/sky/oursun.hxx