Fixes to glow and auto exposure, closes #9797, closes #9106

This commit is contained in:
Juan Linietsky
2017-07-26 00:39:41 -03:00
parent d2d48e2a7a
commit f5277e347d
5 changed files with 107 additions and 62 deletions

View File

@@ -167,6 +167,7 @@ void Environment::set_tonemap_auto_exposure(bool p_enabled) {
tonemap_auto_exposure = p_enabled;
VS::get_singleton()->environment_set_tonemap(environment, VS::EnvironmentToneMapper(tone_mapper), tonemap_exposure, tonemap_white, tonemap_auto_exposure, tonemap_auto_exposure_min, tonemap_auto_exposure_max, tonemap_auto_exposure_speed, tonemap_auto_exposure_grey);
_change_notify();
}
bool Environment::get_tonemap_auto_exposure() const {