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.
This commit is contained in:
parent
915f911daa
commit
3e6907eb8a
Notes:
blender-bot
2023-02-14 05:37:19 +01:00
Referenced by issue #92780, Relocate Library Override loses local Materials (but not for automatically overridden data) Referenced by issue #92002, Cycles baking with Combined filter settings not working
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue