Bidirectional path tracer.