mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make volumetric light effect strength server controllable
- Make volumetric light effect strength server controllable - Separate volumetric and bloom shader pipeline - Require bloom to be enable, scale godrays with bloom
This commit is contained in:
parent
04f0d545da
commit
e0d4a9d575
16 changed files with 227 additions and 144 deletions
|
@ -1804,4 +1804,6 @@ void Client::handleCommand_SetLighting(NetworkPacket *pkt)
|
|||
>> lighting.exposure.speed_bright_dark
|
||||
>> lighting.exposure.center_weight_power;
|
||||
}
|
||||
if (pkt->getRemainingBytes() >= 4)
|
||||
*pkt >> lighting.volumetric_light_strength;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue