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 19:28:12 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-11-05 22:50:19 +0300
commitd1a9425a2fde32b6786b333ab55661da507e818b (patch)
tree42f5068d3c6377a4c20be579766af361b2d1c360 /intern/cycles/integrator
parent4b56eed0f786562dfe961e23091f4f20c16a9e90 (diff)
Fix T91733, T92486: Cycles wrong shadow catcher with volumes
Changes: * After hitting a shadow catcher, re-initialize the volume stack taking into account shadow catcher ray visibility. This ensures that volume objects are included in the stack only if they are shadow catchers. * If there is a volume to be shaded in front of the shadow catcher, the split is now performed in the shade_volume kernel after volume shading is done. * Previously the background pass behind a shadow catcher was done as part of the regular path, now it is done as part of the shadow catcher path. For a shadow catcher path with volumes and visible background, operations are done in this order now: * intersect_closest * shade_volume * shadow catcher split * intersect_volume_stack * shade_background * shade_surface The world volume is currently assumed to be CG, that is it does not exist in the footage. We may consider adding an option to control this, or change the default. With a volume object this control is already possible. This includes refactoring to centralize the logic for next kernel scheduling in intersect_closest.h. Differential Revision: https://developer.blender.org/D13093
Diffstat (limited to 'intern/cycles/integrator')
0 files changed, 0 insertions, 0 deletions