|
@@ -1819,7 +1819,7 @@ void VisualServer::_bind_methods() {
|
|
ClassDB::bind_method(D_METHOD("environment_set_tonemap", "env", "tone_mapper", "exposure", "white", "auto_exposure", "min_luminance", "max_luminance", "auto_exp_speed", "auto_exp_grey"), &VisualServer::environment_set_tonemap);
|
|
ClassDB::bind_method(D_METHOD("environment_set_tonemap", "env", "tone_mapper", "exposure", "white", "auto_exposure", "min_luminance", "max_luminance", "auto_exp_speed", "auto_exp_grey"), &VisualServer::environment_set_tonemap);
|
|
ClassDB::bind_method(D_METHOD("environment_set_adjustment", "env", "enable", "brightness", "contrast", "saturation", "ramp"), &VisualServer::environment_set_adjustment);
|
|
ClassDB::bind_method(D_METHOD("environment_set_adjustment", "env", "enable", "brightness", "contrast", "saturation", "ramp"), &VisualServer::environment_set_adjustment);
|
|
ClassDB::bind_method(D_METHOD("environment_set_ssr", "env", "enable", "max_steps", "fade_in", "fade_out", "depth_tolerance", "roughness"), &VisualServer::environment_set_ssr);
|
|
ClassDB::bind_method(D_METHOD("environment_set_ssr", "env", "enable", "max_steps", "fade_in", "fade_out", "depth_tolerance", "roughness"), &VisualServer::environment_set_ssr);
|
|
- ClassDB::bind_method(D_METHOD("environment_set_ssao", "env", "enable", "radius", "intensity", "radius2", "intensity2", "bias", "light_affect", "ao_channel_affect", "color", "blur", "bilateral_sharpness"), &VisualServer::environment_set_ssao);
|
|
|
|
|
|
+ ClassDB::bind_method(D_METHOD("environment_set_ssao", "env", "enable", "radius", "intensity", "bias", "light_affect", "ao_channel_affect", "blur", "bilateral_sharpness"), &VisualServer::environment_set_ssao);
|
|
ClassDB::bind_method(D_METHOD("environment_set_fog", "env", "enable", "color", "sun_color", "sun_amount"), &VisualServer::environment_set_fog);
|
|
ClassDB::bind_method(D_METHOD("environment_set_fog", "env", "enable", "color", "sun_color", "sun_amount"), &VisualServer::environment_set_fog);
|
|
|
|
|
|
ClassDB::bind_method(D_METHOD("environment_set_fog_depth", "env", "enable", "depth_begin", "depth_end", "depth_curve", "transmit", "transmit_curve"), &VisualServer::environment_set_fog_depth);
|
|
ClassDB::bind_method(D_METHOD("environment_set_fog_depth", "env", "enable", "depth_begin", "depth_end", "depth_curve", "transmit", "transmit_curve"), &VisualServer::environment_set_fog_depth);
|
|
@@ -2141,10 +2141,6 @@ void VisualServer::_bind_methods() {
|
|
BIND_ENUM_CONSTANT(ENV_TONE_MAPPER_FILMIC);
|
|
BIND_ENUM_CONSTANT(ENV_TONE_MAPPER_FILMIC);
|
|
BIND_ENUM_CONSTANT(ENV_TONE_MAPPER_ACES);
|
|
BIND_ENUM_CONSTANT(ENV_TONE_MAPPER_ACES);
|
|
|
|
|
|
- BIND_ENUM_CONSTANT(ENV_SSAO_QUALITY_LOW);
|
|
|
|
- BIND_ENUM_CONSTANT(ENV_SSAO_QUALITY_MEDIUM);
|
|
|
|
- BIND_ENUM_CONSTANT(ENV_SSAO_QUALITY_HIGH);
|
|
|
|
-
|
|
|
|
BIND_ENUM_CONSTANT(ENV_SSAO_BLUR_DISABLED);
|
|
BIND_ENUM_CONSTANT(ENV_SSAO_BLUR_DISABLED);
|
|
BIND_ENUM_CONSTANT(ENV_SSAO_BLUR_1x1);
|
|
BIND_ENUM_CONSTANT(ENV_SSAO_BLUR_1x1);
|
|
BIND_ENUM_CONSTANT(ENV_SSAO_BLUR_2x2);
|
|
BIND_ENUM_CONSTANT(ENV_SSAO_BLUR_2x2);
|