mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue