How to make a Brightness Adjust Screen?

I want to do something like this:

Maybe put an image with no sprite over the whole screen, with the color black, transparency for brightness, and not a raycast target. There’s probably a different solution which would look more realistic.