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:
authorSergey Sharybin <sergey@blender.org>2021-10-26 17:05:33 +0300
committerSergey Sharybin <sergey@blender.org>2021-10-26 17:06:35 +0300
commit4094868f7301ed06e6fd0710d1e9193796eb857d (patch)
tree92c56fc8733b884e0eaff546d9b6119e86365114 /intern/cycles/scene
parentf41d4735e99aae2a5247092b91106b1afcf52085 (diff)
Fix T92502: Position Pass broken
The kernel was writing it for the first sample only, while the film accessor was thinking it needs to be filtered.
Diffstat (limited to 'intern/cycles/scene')
-rw-r--r--intern/cycles/scene/pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/scene/pass.cpp b/intern/cycles/scene/pass.cpp
index 791101e0940..a885ede50a4 100644
--- a/intern/cycles/scene/pass.cpp
+++ b/intern/cycles/scene/pass.cpp
@@ -182,6 +182,7 @@ PassInfo Pass::get_info(const PassType type, const bool include_albedo)
break;
case PASS_POSITION:
pass_info.num_components = 3;
+ pass_info.use_filter = false;
break;
case PASS_NORMAL:
pass_info.num_components = 3;