summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/effects/ss_effects.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2022-10-02 20:08:07 +1100
committerBastiaan Olij <mux213@gmail.com>2022-10-04 23:47:13 +1100
commitd09ad714bfa28df82adbbd4e5bf18a69233aae39 (patch)
tree56f3733a0ae010c557a5c6c0de8dc969ee58a012 /servers/rendering/renderer_rd/effects/ss_effects.h
parente5aa5eb8067fada41ad8ecb5027a7917d6d5084c (diff)
Fixing artifacts in SSR
Diffstat (limited to 'servers/rendering/renderer_rd/effects/ss_effects.h')
-rw-r--r--servers/rendering/renderer_rd/effects/ss_effects.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/effects/ss_effects.h b/servers/rendering/renderer_rd/effects/ss_effects.h
index 7c264b4d76..dfaf3881bb 100644
--- a/servers/rendering/renderer_rd/effects/ss_effects.h
+++ b/servers/rendering/renderer_rd/effects/ss_effects.h
@@ -148,6 +148,9 @@ public:
void ssr_set_roughness_quality(RS::EnvironmentSSRRoughnessQuality p_quality);
struct SSRRenderBuffers {
+ Size2i size;
+ RenderingServer::EnvironmentSSRRoughnessQuality roughness_quality = RenderingServer::ENV_SSR_ROUGHNESS_QUALITY_DISABLED;
+
RID normal_scaled;
RID depth_scaled;
RID blur_radius[2];