I am working on a pathtracer and right now I am struggeling with how to combine the colors after each pass.
Assume, after pass 1 we have Color1 for Pixel (1, 1), after pass 2 we have Color2 for Pixel (1,1) - how should Color1 and Color2 be combined to result in an accurate color?