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:
parent
e05544b84e
commit
51cb37570a
14 changed files with 72 additions and 56 deletions
|
@ -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;
|
||||
|
|
|
@ -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]
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue