lisyarus, Instead of optimizing the BVH traversal, I decided to implement multiple importance sampling. Right now I'm just iterating over all light-emitting triangles to compute MIS weights, later I'll probably add a separate BVH for them.
Obligatory "with/without MIS" image, rendered with just 64 samples:
Add comment