forked from bartvdbraak/blender
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
@ -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
Block a user