Lambert diffuse

We noticed that mia material doesn’t exactly mimic a lambertian diffuse but instead it does compress a bit the terminator. So for those that were used to that we implemented two different models for lambertian diffuse. Lambert Mia material   A side note is that Mila material instead is a full Lambert. We’re adding other diffuse models like Hanrahan-Krueger,[…]

Complex IOR

Reflections behave following the Fresnel law. Generally reflective materials exhibit more reflection approaching a viewing angle of 90°. This is why Schlick implemented the ‘Schlick trick’. That is. You control reflection slope based on 3 simple parameters: reflection at 0°, reflections at 90° and the slope between the two. This gives a reasonable fast and[…]