aboutsummaryrefslogtreecommitdiff
path: root/src/client/sky.cpp
AgeCommit message (Collapse)Author
2020-05-27Value copy / allocation optimizations mostly in server, SAO and serialize codesfan5
2020-05-09Color gradient for default and 'regular' type sky (#9502)TheTermos
* add regular sky gradient * add regular sky gradient * Update sky.cpp * change default day sky colors
2020-05-05Sky API: Rename *_tint to fog_*_tint for consistencySmallJoker
2020-03-08Fix star visilibity and documentation (since 946c03c6)Jordan Snelling
Fix memory leak (unused allocation) Fix star rendering Rename sky color struct Fix stars on android Remove extraneous .data() from android star draw
2020-03-05set_sky improvements, set_sun, set_moon and set_starsJordach
2020-01-16Increase star count to 1000 and decrease radius slightly (#9307)lhofhansl
* Increase star count to 1000 and decrease radius slightly. * Adjust star width.
2019-08-04Unify OpenGL ES supportsfan5
2019-07-30Sky: Refactor of moon and sun drawing (#8683)Methacrylon
Split sun and moon render parts from the main render function.
2018-12-06Draw all horizons and sky base, in front of stars (#7932)Paramat
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.
2018-12-02Draw stars behind the moon (#7928)Paramat
This time correctly, by resetting the 'material' to '1' after moon draw.
2018-12-02Slightly alter star appearence time and full brightness time (#7921)Paramat
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.
2018-12-01Fix sky bugs when using sun or moon textures (#7918)Paramat
Reverts the render order change of commit ce2d33eb97238e2e050d065a8f0838749a0b31d0
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories