
No more double counting specs. Also, glossy samples are down to 1. Min samples: 16. Max samples: 64. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 1. 15.3656 secs.

samples. Min samples: 16. Max samples: 64. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 34.6328 secs.

Got refracted light on sphere. Min samples: 16. Max samples: 64. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 34.6328 secs.

samples. fixed costheta calculation for refractions, and thetaMax removed. Min samples: 16. Max samples: 64. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 36.8919 secs.

fixed costheta calculation for refractions, and thetaMax removed. Min samples: 16. Max samples: 64. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 36.8919 secs.

samples for below render. Min samples: 16. Max samples: 64. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 35.5527 secs.

Finally! Got everything working. Inside of teapot looks good now too. It was simply a normal flipping issue.Min samples: 16. Max samples: 64. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 35.5527 secs.

Refactored glossy sampling methodology to have only one forloop instead of two. Render time decreased by ~2 secs.

Reflections fixed?

Reflections almost fixed. Now, it properly samples half-vectors instead of just blurring around reflections vectors, but the first sphere is a little less glossy than it should be?

Lowered cone angle further.

Smaller cone angle to make it glossier to match reference.

Got the inner part red. Issue was related to HIT_FRONT_AND_BACK.

Got the light rendering.

Samples. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 37.1589 secs.

Glossy Surfaces added. Shadow min samples: 4. Shadow max samples: 8. Glossy reflection and refraction samples: 4. 37.1589 secs. The gap in the teapot is still there though....

Samples for soft shadows, no glossy surfaces. Min samples: 16. Max samples: 64. 17.8867 sec.

Zbuffer.

Soft shadows implemented. Looking good. Min samples: 16. Max samples: 64. 17.8867 sec. But did notice that the gap in the teapot.