The material, colour, and reflectance of the object have hardly any bearing at all.
Photoelectric distance sensors provide support for positioning tasks, material flow control, and fill level detection in the most varied applications, even over long distances.