Overhaul screen space reflections.
This commit is contained in:
@ -578,7 +578,7 @@ float RendererEnvironmentStorage::environment_get_ssr_fade_out(RID p_env) const
|
||||
|
||||
float RendererEnvironmentStorage::environment_get_ssr_depth_tolerance(RID p_env) const {
|
||||
Environment *env = environment_owner.get_or_null(p_env);
|
||||
ERR_FAIL_NULL_V(env, 0.2);
|
||||
ERR_FAIL_NULL_V(env, 0.5);
|
||||
return env->ssr_depth_tolerance;
|
||||
}
|
||||
|
||||
|
||||
@ -114,7 +114,7 @@ private:
|
||||
int ssr_max_steps = 64;
|
||||
float ssr_fade_in = 0.15;
|
||||
float ssr_fade_out = 2.0;
|
||||
float ssr_depth_tolerance = 0.2;
|
||||
float ssr_depth_tolerance = 0.5;
|
||||
|
||||
// SSAO
|
||||
bool ssao_enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user