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/kernel/svm
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/kernel/svm')
-rw-r--r--intern/cycles/kernel/svm/aov.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/aov.h b/intern/cycles/kernel/svm/aov.h
index 334fb79cb75..9b818f0e6f8 100644
--- a/intern/cycles/kernel/svm/aov.h
+++ b/intern/cycles/kernel/svm/aov.h
@@ -32,7 +32,7 @@ ccl_device void svm_node_aov_color(KernelGlobals kg,
kernel_data.film.pass_stride;
ccl_global float *buffer = render_buffer + render_buffer_offset +
(kernel_data.film.pass_aov_color + node.z);
- kernel_write_pass_float3(buffer, make_float3(val.x, val.y, val.z));
+ kernel_write_pass_float4(buffer, make_float4(val.x, val.y, val.z, 1.0f));
}
}