diff options
-rw-r--r-- | source/blender/render/intern/source/sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/sss.c b/source/blender/render/intern/source/sss.c index 2e7ca48affc..9fb48a08503 100644 --- a/source/blender/render/intern/source/sss.c +++ b/source/blender/render/intern/source/sss.c @@ -1025,6 +1025,6 @@ int sample_sss(Render *re, Material *mat, float *co, float *color) int sss_pass_done(struct Render *re, struct Material *mat) { - return ((re->flag & R_BAKING) || (re->sss_hash && BLI_ghash_lookup(re->sss_hash, mat))); + return ((re->flag & R_BAKING) || !(re->r.mode & R_SSS) || (re->sss_hash && BLI_ghash_lookup(re->sss_hash, mat))); } |