diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-08-22 17:04:25 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-09-05 18:37:50 +0300 |
commit | d8aaf25c23fa10ee121dc4fdd1cafe544bcca355 (patch) | |
tree | b5a16157beac22e4b474c699c1ce25f3d8c5be51 /source/blender/makesdna | |
parent | ca58936f2ff2b14a649722be20d98f8fa35831ff (diff) |
Eevee: Shadow map refactor
Reviewed By: brecht
Differential Revision: http://developer.blender.org/D5659
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_light_types.h | 10 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_light_types.h b/source/blender/makesdna/DNA_light_types.h index 82cab5d1594..ec83d53da5e 100644 --- a/source/blender/makesdna/DNA_light_types.h +++ b/source/blender/makesdna/DNA_light_types.h @@ -58,7 +58,10 @@ typedef struct Light { char _pad2[2]; float clipsta, clipend; - float bias, soft, bleedbias, bleedexp; + float bias; + float soft; /* DEPRECATED kept for compatibility. */ + float bleedbias; /* DEPRECATED kept for compatibility. */ + float bleedexp; /* DEPRECATED kept for compatibility. */ short bufsize, samp, buffers, filtertype; char bufflag, buftype; @@ -82,7 +85,10 @@ typedef struct Light { float cascade_fade; int cascade_count; - float contact_dist, contact_bias, contact_spread, contact_thickness; + float contact_dist; + float contact_bias; + float contact_spread; /* DEPRECATED kept for compatibility. */ + float contact_thickness; float spec_fac, att_dist; diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 5e96759bc90..58778bebf4a 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1637,7 +1637,7 @@ typedef struct SceneEEVEE { int motion_blur_samples; float motion_blur_shutter; - int shadow_method; + int shadow_method DNA_DEPRECATED; int shadow_cube_size; int shadow_cascade_size; @@ -2392,7 +2392,7 @@ enum { SCE_EEVEE_SHADOW_HIGH_BITDEPTH = (1 << 10), SCE_EEVEE_TAA_REPROJECTION = (1 << 11), // SCE_EEVEE_SSS_ENABLED = (1 << 12), /* Unused */ - SCE_EEVEE_SSS_SEPARATE_ALBEDO = (1 << 13), + // SCE_EEVEE_SSS_SEPARATE_ALBEDO = (1 << 13), /* Unused */ SCE_EEVEE_SSR_ENABLED = (1 << 14), SCE_EEVEE_SSR_REFRACTION = (1 << 15), SCE_EEVEE_SSR_HALF_RESOLUTION = (1 << 16), |