summaryrefslogtreecommitdiff
path: root/servers/physics_server_2d.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-07-09 10:28:33 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-30 20:03:38 +0200
commit09bedcead445d1f628d628efe6703570b84fe1d1 (patch)
treeece80d85c97375654d66065d90c3cf31a5533b2e /servers/physics_server_2d.h
parente27b61d291ae65cd1171bd32c9b00912dc17c428 (diff)
Add a per-light volumetric fog energy property
Per-light energy gives more control to the user on the final result of volumetric fog. Specific lights can be fully excluded from volumetric fog by setting their volumetric fog energy to 0, which improves performance slightly. This can also be used to prevent short-lived dynamic effects from poorly interacting with volumetric fog, as it's updated over several frames by default unless temporal reprojection is disabled. Volumetric fog shadows now obey Light3D's Shadow Opacity property as well. The shadow fog fade property was removed as it had little visible impact on the final scene's rendering.
Diffstat (limited to 'servers/physics_server_2d.h')
0 files changed, 0 insertions, 0 deletions