I printed this gadget with white ABS plastic.
Can you 3D print in a matt black plastic? That would absorb some of the stray reflected light from irregularly shaped samples.
I think the recommended distance is 10 – 15 mm.
Good luck with your efforts.
Maybe you can attach a photo?