One of the big improvements in IP cameras in the last few years has been super low light capability. Improvements in both the sensors themselves, and the electronics processing the sensor data. A 2 megapixel camera (aka 1080) can be plenty if you're not trying to cover a very large area (say, 30+ yards in depth & width).
Moreover, either a supplemental IR light or a motion-activated outdoor floodlight to throw more light on the camera's field of view helps significantly improve image quality.
Beyond low light, you also have to be aware of the dynamic range of the camera. If you have very bright & very dark areas in the same scene, traditional cameras cannot properly expose & show detail in both. WDR (wide dynamic range) is the buzzword to look for, but again be aware that there are many different levels of WDR. In the Axis product line, the highest performing cameras are tagged with 'WDR Forensic' capability. This video does a good job showing the difference WDR can make:
https://www.youtube.com/watch?v=6TiV66LGnTg
I do a lot of outdoor cameras for an industrial environment, but most people aren't willing to spend this much on their home:
https://www.bhphotovideo.com/c/product/ ... e_for.html