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:
authorBrecht Van Lommel <brecht@blender.org>2021-11-03 23:58:47 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-11-04 00:09:13 +0300
commit3e6907eb8a3d90789f3f30a7b8ffdbe17771a0e8 (patch)
treeb513bd0d2c9f9968748209a214539a83c73aae34 /intern/cycles/integrator
parent915f911daacd972beeb004d0f27fb290bb9e8c08 (diff)
Fix T92002: Cycles baking certain light passes does not work
When reading pixels for virtual passes like diffuse, that sum diffuse direct and indirect passes, we do not need them to exist with an offset in the render buffer.
Diffstat (limited to 'intern/cycles/integrator')
-rw-r--r--intern/cycles/integrator/pass_accessor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/integrator/pass_accessor.cpp b/intern/cycles/integrator/pass_accessor.cpp
index 7e19de51daa..4479442df56 100644
--- a/intern/cycles/integrator/pass_accessor.cpp
+++ b/intern/cycles/integrator/pass_accessor.cpp
@@ -138,10 +138,6 @@ bool PassAccessor::get_render_tile_pixels(const RenderBuffers *render_buffers,
return false;
}
- if (pass_access_info_.offset == PASS_UNUSED) {
- return false;
- }
-
const PassType type = pass_access_info_.type;
const PassMode mode = pass_access_info_.mode;
const PassInfo pass_info = Pass::get_info(type, pass_access_info_.include_albedo);