1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Various changes and fixes

Hopefully this works, I haven't yet checked in detail for any problems.
This commit is contained in:
Gefüllte Taubenbrust 2025-05-20 21:40:19 +02:00
parent e05544b84e
commit 51cb37570a
14 changed files with 72 additions and 56 deletions

View file

@ -1947,8 +1947,10 @@ void Server::SendSetLighting(session_t peer_id, const Lighting &lighting)
pkt << lighting.volumetric_light_strength << lighting.shadow_tint;
pkt << lighting.bloom_intensity << lighting.bloom_strength_factor <<
lighting.bloom_radius;
pkt << lighting.artificial_light_color;
pkt << lighting.volumetric_beta_r0;
pkt << lighting.artificial_light_color.r
<< lighting.artificial_light_color.g
<< lighting.artificial_light_color.b;
pkt << lighting.scattering_coefficients;
pkt << lighting.vignette.dark
<< lighting.vignette.bright
<< lighting.vignette.power;