diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-10-31 20:31:14 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-10-31 20:32:54 +0300 |
commit | cde64619cab3674dd4aa2d064406a71efbe2c4d7 (patch) | |
tree | 3b9c5df8cf4f2471aa1da33d2428665288d55c47 /source/blender/blenkernel/intern/scene.c | |
parent | c6466ed0d2fc86d3a0c92acd07a154249921eaa6 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 8fdf207ad68..60b542cd254 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -919,6 +919,8 @@ void BKE_scene_init(Scene *sce) sce->eevee.light_cache = NULL; + sce->eevee.overscan = 0.3f; + sce->eevee.flag = SCE_EEVEE_VOLUMETRIC_LIGHTS | SCE_EEVEE_GTAO_BENT_NORMALS | |