From 4094868f7301ed06e6fd0710d1e9193796eb857d Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 26 Oct 2021 16:05:33 +0200 Subject: 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. --- intern/cycles/scene/pass.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/cycles/scene') 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; -- cgit v1.2.3