summaryrefslogtreecommitdiff
path: root/editor/plugins/texture_3d_editor_plugin.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-02-14 17:12:15 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-02-14 17:15:32 +0100
commitc10e97b604961700bba0f5c3b379e39a1f07acdf (patch)
tree78d59784df000ec2bf6d1a6c651ba45875444624 /editor/plugins/texture_3d_editor_plugin.cpp
parentf810f76890f23843f3895262fe2f88a7d5d3c3f3 (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 'editor/plugins/texture_3d_editor_plugin.cpp')
0 files changed, 0 insertions, 0 deletions