It depends on the situation.
The optimal working environment for 3D cameras is in darkness without interference from other ambient light. However, in scenarios that require deep learning, such as scattered stacking, where 2D algorithms are needed, external light sources must be used.
Additionally, lighting conditions such as direct sunlight can also affect point cloud imaging.