mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Overhaul screen space reflections.
This commit is contained in:
parent
f50d7fa1e8
commit
c128886c63
31 changed files with 1185 additions and 934 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue