Closed Morozov-5F closed 2 years ago
The issue also reproduces on polygonal models from #5. It feels like it has something to do with the normal vector pointing inside the surface.
This is probably due to a possible bug in the reference implementation: https://github.com/RayTracing/raytracing.github.io/issues/965
For some reason if we rotate the cube for more than 45 degrees all kind of weird stuff happen -- some of the cube side becomes shaded, while others don't. Easiest way to reproduce the issue is change the "instance test" scene so the cube is rotated for more than 45 degrees.