diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-07-24 02:59:08 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2016-07-24 03:29:37 +0300 |
commit | 98b7447c9c9046cac036cf455a4c904fcfa7e367 (patch) | |
tree | de51765f322c3d8155d186e14cb72834e4709911 /source/blender/makesdna | |
parent | 2259c750646330ee7b85e31ef54f09706ea3206f (diff) |
Cycles: Add two shadow feature passes
These two passes will both hold the same feature, but one will be filled with data from even samples
and the other with data from odd samples. That allows to estimate buffer variance and prefilter it better later on.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index ce7560c22fc..2208a92c635 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -274,9 +274,11 @@ typedef enum ScenePassType { #define SCE_PASS_DENOISE_ALBEDO_VAR (((uint64_t) 1) << 35) #define SCE_PASS_DENOISE_DEPTH (((uint64_t) 1) << 36) #define SCE_PASS_DENOISE_DEPTH_VAR (((uint64_t) 1) << 37) -#define SCE_PASS_DENOISE_NOISY (((uint64_t) 1) << 38) /* The original noisy image (only the components that are denoised). */ -#define SCE_PASS_DENOISE_NOISY_VAR (((uint64_t) 1) << 39) -#define SCE_PASS_DENOISE_CLEAN (((uint64_t) 1) << 40) /* If present, these image components are added to the denoised image. */ +#define SCE_PASS_DENOISE_SHADOW_A (((uint64_t) 1) << 38) +#define SCE_PASS_DENOISE_SHADOW_B (((uint64_t) 1) << 39) +#define SCE_PASS_DENOISE_NOISY (((uint64_t) 1) << 40) /* The original noisy image (only the components that are denoised). */ +#define SCE_PASS_DENOISE_NOISY_VAR (((uint64_t) 1) << 41) +#define SCE_PASS_DENOISE_CLEAN (((uint64_t) 1) << 42) /* If present, these image components are added to the denoised image. */ /* note, srl->passflag is treestore element 'nr' in outliner, short still... */ |