Add back ray bounces debug code, can be useful nevertheless.
Just need to keep in mind that these are not indirect bounces in the pass then.
This commit is contained in:
parent
6d63446710
commit
291152e127
Notes:
blender-bot
2023-02-14 08:35:47 +01:00
Referenced by issue #46325, bone rotation
|
@ -229,6 +229,7 @@ ccl_device float4 kernel_branched_path_integrate(KernelGlobals *kg, RNG *rng, in
|
|||
#ifdef __KERNEL_DEBUG__
|
||||
debug_data.num_bvh_traversal_steps += isect.num_traversal_steps;
|
||||
debug_data.num_bvh_traversed_instances += isect.num_traversed_instances;
|
||||
debug_data.num_ray_bounces++;
|
||||
#endif
|
||||
|
||||
#ifdef __VOLUME__
|
||||
|
|
Loading…
Reference in New Issue