From cde64619cab3674dd4aa2d064406a71efbe2c4d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 31 Oct 2018 18:31:14 +0100 Subject: Eevee: Implement Overscan option This option make the internal render size larger than the output size in order to minimize screenspace effects disapearing at the render edges. The overscan size added around the render is the maximum dimension multiplied by the overscan percentage. --- source/blender/makesdna/DNA_scene_types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 9045fb4353d..ebdce500d31 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1485,6 +1485,9 @@ typedef struct SceneEEVEE { struct LightCache *light_cache; char light_cache_info[64]; + + float overscan; + float pad; } SceneEEVEE; /* *************************************************************** */ @@ -2192,6 +2195,7 @@ enum { SCE_EEVEE_SHOW_CUBEMAPS = (1 << 18), SCE_EEVEE_GI_AUTOBAKE = (1 << 19), SCE_EEVEE_SHADOW_SOFT = (1 << 20), + SCE_EEVEE_OVERSCAN = (1 << 21), }; /* SceneEEVEE->shadow_method */ -- cgit v1.2.3