Adjust the camera settings in step with your setting
https://goprocamerasreview.com/blog/security-cameras/how-to-setup-a-pi-as-security-camera-using-raspbian/
Adjust the camera settings based on your setting. For shiny daylight hours, cut back the ISO and bring up shutter speed, at the same time in low-light circumstances, you could want to adjust those settings for most reliable image quality.