diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2022-07-24 21:32:19 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2022-07-24 21:36:46 +0300 |
commit | d26c29d8e46c284b27cc6d3bcde8fde7ff678ae4 (patch) | |
tree | f4c50aca93618440f2325ff7ed15a91583fc738c /intern | |
parent | 31365c6b9e4cd99a79fe64ebaf016c3d7e0e0c4f (diff) |
Fix T98367: Light group passes do not work when shadow catcher is used
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/session/buffers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/session/buffers.cpp b/intern/cycles/session/buffers.cpp index b74074765fe..e060e0c6829 100644 --- a/intern/cycles/session/buffers.cpp +++ b/intern/cycles/session/buffers.cpp @@ -209,7 +209,7 @@ const BufferPass *BufferParams::get_actual_display_pass(const BufferPass *pass) return nullptr; } - if (pass->type == PASS_COMBINED) { + if (pass->type == PASS_COMBINED && pass->lightgroup.empty()) { const BufferPass *shadow_catcher_matte_pass = find_pass(PASS_SHADOW_CATCHER_MATTE, pass->mode); if (shadow_catcher_matte_pass) { pass = shadow_catcher_matte_pass; |