Make sure that the shading is performed in the same way as in the default raycastmapper.