Rays are traced against the facet planes of the solid, so the shape must be convex. Coplanar triangles merge into one plane; the table is capped at 512 planes. Cost scales with planes × ray depth × pixels, so drop the ray depth or the render scale on dense meshes.