aboutsummaryrefslogtreecommitdiff
path: root/src/client/sky.h
AgeCommit message (Collapse)Author
2023-02-26Sky: transmit body_orbit_tilt to client. (#13193)sofar
This obsoletes the current client-side setting entirely. The server can transmit the tilt to the client directly and will send 0.0f as default value. Co-authored-by: x2048 <codeforsmile@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-09-06Add documentation of sun/moon orientation/scale differences (#12145)DS
2022-08-17Use Sky class to obtain directional light source position for shadows (#12662)x2048
* Also remove unused Sky::getSkyBodyOrbitTilt method Fixes misalignment of sun position and shadow direction at high tilt values.
2022-07-02Allow to set maximum star opacity at daytime (#11663)Wuzzy
2022-03-26Add API to control shadow intensity from the game/mod (#11944)x2048
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
2022-01-22Fix consistency of sky sun/moon texture behavioursfan5
Also cleans up related code somewhat.
2021-06-06Shadow mapping render pass (#11244)Liso
Co-authored-by: x2048 <codeforsmile@gmail.com>
2021-05-03refacto: protect some RenderingEngine::get_scene_managerLoic Blot
* protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky
2021-04-05Reserve vectors before pushing and other code quality changes (#11161)sfan5
2021-01-28Include irrlichttypes.h first to work around Irrlicht#433 (#10872)Vitaliy
Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
2020-11-26Sky: support GLES2numzero
IrrLicht built-in shader is broken, have to write my own
2020-11-26Reuse seed when updating starsnumzero
The only currently relevant parameter is scale which can now be changed without resetting stars position
2020-11-26Store stars in a single static mesh buffernumzero
2020-05-27Value copy / allocation optimizations mostly in server, SAO and serialize codesfan5
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-07-30Sky: Refactor of moon and sun drawing (#8683)Methacrylon
Split sun and moon render parts from the main render function.
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories