Derpius/VisTrace

[feature] Emissive light sampler

Opened this issue · 0 comments

Describe the solution you'd like
Implement an emissive mesh light importance sampler.

This could just be a uniform sampler, but taking the luminance of the surfaces into account produces far less noise with multiple lights of varying importance.
Additionally integrating emissive textures into the weighting would be great, however adds a lot of complexity and simply including tris that have any emissive pixels would suffice for now.