aboutsummaryrefslogtreecommitdiff
path: root/src/client/sky.cpp
Commit message (Collapse)AuthorAge
* Unify OpenGL ES supportsfan52019-08-04
|
* Sky: Refactor of moon and sun drawing (#8683)Methacrylon2019-07-30
| | | Split sun and moon render parts from the main render function.
* Draw all horizons and sky base, in front of stars (#7932)Paramat2018-12-06
| | | | | Move star draw to before sun glow texture draw and before sun draw, not currently essential but the logical order. Will be necessary if a 'no far ground' option is added, to draw stars behind the sun.
* Draw stars behind the moon (#7928)Paramat2018-12-02
| | | This time correctly, by resetting the 'material' to '1' after moon draw.
* Slightly alter star appearence time and full brightness time (#7921)Paramat2018-12-02
| | | | | | | | | At sunset: Stars first appear slightly later, at the time the sun disappears over the horizon, this fixes seeing dark stars in front of the sun horizon glow texture. Stars reach full brightness slightly earlier at time 20000, not so excessively long after sunset. The above behaviour is also applied at sunrise, but of course, time-inverted.
* Fix sky bugs when using sun or moon textures (#7918)Paramat2018-12-01
| | | | Reverts the render order change of commit ce2d33eb97238e2e050d065a8f0838749a0b31d0
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
Update Android.mk Remove 'src/client' from include_directories