diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-02-14 17:12:15 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-02-14 17:15:32 +0100 |
commit | c10e97b604961700bba0f5c3b379e39a1f07acdf (patch) | |
tree | 78d59784df000ec2bf6d1a6c651ba45875444624 /platform/osx/godot_main_osx.mm | |
parent | f810f76890f23843f3895262fe2f88a7d5d3c3f3 (diff) |
Clamp environment light sky contribution to the [0.0; 1.0] range
The value is already clamped in the editor, but it wasn't being
clamped when the value was set via code. Values outside the [0.0; 1.0]
range can result in broken rendering.
Diffstat (limited to 'platform/osx/godot_main_osx.mm')
0 files changed, 0 insertions, 0 deletions