Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-10-13 17:55:19 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-10-13 19:09:07 +0300
commitb7afcdff7b068f668a3bfb032cf659693c8879f0 (patch)
tree97772bd3dc38764178699e529d077d22af3b690f /source/blender/makesdna
parented96c59c20fb5f69edc9671b4efbcd4bf7f61ffb (diff)
EEVEE: Motion Blur: Add shutter position option
This makes it easier to generate motion trail effect with EEVEE. This just mimics the cycles option as described here: https://docs.blender.org/manual/en/latest/render/cycles/render_settings/motion_blur.html This fix T80070
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index b4356ddebb7..0b63a085ee6 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1635,8 +1635,10 @@ typedef struct SceneEEVEE {
int motion_blur_samples DNA_DEPRECATED;
int motion_blur_max;
int motion_blur_steps;
+ int motion_blur_position;
float motion_blur_shutter;
float motion_blur_depth_scale;
+ char _pad0[4];
int shadow_method DNA_DEPRECATED;
int shadow_cube_size;
@@ -2405,6 +2407,13 @@ enum {
/* SHADOW_METHOD_MAX = 3, */ /* UNUSED */
};
+/* SceneEEVEE->motion_blur_position */
+enum {
+ SCE_EEVEE_MB_CENTER = 0,
+ SCE_EEVEE_MB_START = 1,
+ SCE_EEVEE_MB_END = 2,
+};
+
/* SceneDisplay->render_aa, SceneDisplay->viewport_aa */
enum {
SCE_DISPLAY_AA_OFF = 0,