Hi,
submitting this to get some feedback. This is WIP.
Main issue is the num_samples_adjust and the related num_samples calculations. I reuse the value from the direct calculations as a hack (pass_samples). What is the proper solution here?
ToDo:
- Make optional (It's slow)
- Fix num_samples_adjust thing ( this should also fix wrong SSS/Volume, and Mesh Lights).
Nevertheless does this improve Sampling already, here a comparison. The second image has been rendered with less AA samples, to get the same render time, but due to the Multi light sampling it's less noisy.
