diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-12-04 12:45:30 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-12-04 12:45:30 -0300 |
commit | a299c3ebf1ceb3ce108526b3e134e82e5bf4413b (patch) | |
tree | f62ea61a7245d83caadc8c6c84d82e129ef240cf /servers/visual | |
parent | 27a46d78ec43b69a70a1d84c540353e3cb3b04c0 (diff) |
Support for SSAO
Diffstat (limited to 'servers/visual')
-rw-r--r-- | servers/visual/rasterizer.h | 1 | ||||
-rw-r--r-- | servers/visual/visual_server_raster.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index 0d36706468..09d59e3175 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -65,6 +65,7 @@ public: virtual void environment_set_fog(RID p_env,bool p_enable,float p_begin,float p_end,RID p_gradient_texture)=0; virtual void environment_set_ssr(RID p_env,bool p_enable, int p_max_steps,float p_accel,float p_fade,float p_depth_tolerance,bool p_smooth,bool p_roughness)=0; + virtual void environment_set_ssao(RID p_env,bool p_enable, float p_radius, float p_intensity, float p_radius2, float p_intensity2, float p_bias, float p_light_affect,const Color &p_color,bool p_blur)=0; virtual void environment_set_tonemap(RID p_env,bool p_enable,float p_exposure,float p_white,float p_min_luminance,float p_max_luminance,float p_auto_exp_speed,float p_auto_exp_scale,VS::EnvironmentToneMapper p_tone_mapper)=0; virtual void environment_set_adjustment(RID p_env,bool p_enable,float p_brightness,float p_contrast,float p_saturation,RID p_ramp)=0; diff --git a/servers/visual/visual_server_raster.h b/servers/visual/visual_server_raster.h index e7594278f2..ff1a622107 100644 --- a/servers/visual/visual_server_raster.h +++ b/servers/visual/visual_server_raster.h @@ -876,6 +876,8 @@ public: BIND2(environment_set_canvas_max_layer,RID,int ) BIND4(environment_set_ambient_light,RID,const Color& ,float,float ) BIND8(environment_set_ssr,RID,bool,int,float,float,float,bool,bool ) + BIND10(environment_set_ssao,RID ,bool , float , float , float,float,float , float ,const Color &,bool ) + BIND7(environment_set_glow,RID,bool ,int ,float ,float ,float ,EnvironmentGlowBlendMode ) BIND5(environment_set_fog,RID,bool ,float ,float ,RID ) |