1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +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

@ -1795,8 +1795,10 @@ void Client::handleCommand_SetLighting(NetworkPacket *pkt)
>> lighting.bloom_radius;
}
if (pkt->getRemainingBytes() >= 72) {
*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;

View file

@ -61,10 +61,10 @@
[scheduled bump for 5.10.0]
PROTOCOL VERSION 47
Add particle blend mode "clip"
Add artificial light color, beta_r0, vignette, specular intensity, foliage translucency and cdl parameters to Lighting packets
[scheduled bump for 5.11.0]
PROTOCOL VERSION 48
Add compression to some existing packets
Add compression to some existing packets, artificial light color, scattering_coefficients,
vignette, specular intensity, foliage translucency and cdl parameters to Lighting packets
[scheduled bump for 5.12.0]
*/