raycaster with flat shading | ScratchStats