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:
authorLukas Stockner <lukas.stockner@freenet.de>2022-04-08 02:14:01 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2022-04-10 19:43:57 +0300
commit0b05e0b97e4b556ce87dd659a3786be53f89e4e5 (patch)
tree7c6dca1493acc83874839a3762a00af5265995d5 /intern/cycles/scene
parenta4f970e86b526b6ea9bf0ccacfd687581f479348 (diff)
Fix T97159: AOV Pass in Cycles always gets Alpha Value of 1 for whole image
As far as I can see, it makes a lot of sense to have the alpha channel here, it matches the 2.x behavior and also matches what Eevee is doing. Differential Revision: https://developer.blender.org/D14595
Diffstat (limited to 'intern/cycles/scene')
-rw-r--r--intern/cycles/scene/pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/scene/pass.cpp b/intern/cycles/scene/pass.cpp
index 5f5b19e710d..c2f12355ac7 100644
--- a/intern/cycles/scene/pass.cpp
+++ b/intern/cycles/scene/pass.cpp
@@ -321,7 +321,7 @@ PassInfo Pass::get_info(const PassType type, const bool include_albedo, const bo
break;
case PASS_AOV_COLOR:
- pass_info.num_components = 3;
+ pass_info.num_components = 4;
break;
case PASS_AOV_VALUE:
pass_info.num_components = 1;