I have a mid-2011 27" iMac. I have realized that the screen brightness adjusts depending on the ambient light. When the sun hides behind the clouds, and the room gets darker, the brightness decreases. I have located the sensor to be the camera. When putting a finger over the camera on top of the screen I can reproduce the sun hiding.
How do I turn this magic feature off?