summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-11-28 10:21:07 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-11-28 10:21:07 +0100
commitdd06f6ee70543de0cb61ed9deef568c16c51fedc (patch)
tree3bf57d65090fec6e3d5afe0a7110f4d9ebbf4b1e /scene
parent0307f2885c55bb642fef90658e1c40cbdbb7f0f4 (diff)
Fix style issues and signature mismatch
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/environment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp
index ac98b5a393..90552ebb47 100644
--- a/scene/resources/environment.cpp
+++ b/scene/resources/environment.cpp
@@ -585,9 +585,9 @@ float Environment::get_glow_hdr_bleed_threshold() const {
return glow_hdr_bleed_threshold;
}
-void Environment::set_glow_hdr_luminance_cap(float p_threshold) {
+void Environment::set_glow_hdr_luminance_cap(float p_amount) {
- glow_hdr_luminance_cap = p_threshold;
+ glow_hdr_luminance_cap = p_amount;
VS::get_singleton()->environment_set_glow(environment, glow_enabled, glow_levels, glow_intensity, glow_strength, glow_bloom, VS::EnvironmentGlowBlendMode(glow_blend_mode), glow_hdr_bleed_threshold, glow_hdr_bleed_threshold, glow_hdr_luminance_cap, glow_bicubic_upscale);
}