Cycles: Remove TODO, it is possible there'll be more intersections recorded
It's just only few of them will be stored in the intersection array, nothing wrong with that what's so ever.
This commit is contained in:
@@ -288,9 +288,6 @@ ccl_device int subsurface_scatter_multi_intersect(
|
||||
sd->object,
|
||||
lcg_state,
|
||||
BSSRDF_MAX_HITS);
|
||||
/* TODO(sergey): Investigate whether scene_intersect_subsurface() could
|
||||
* indeed return more than BSSRDF_MAX_HITS hits.
|
||||
*/
|
||||
int num_eval_hits = min(ss_isect->num_hits, BSSRDF_MAX_HITS);
|
||||
|
||||
for(int hit = 0; hit < num_eval_hits; hit++) {
|
||||
|
Reference in New Issue
Block a user