There is an ambient light sensor near the webcam (not part of the webcam) that is used to automatically adjust brightness. If you shine a flashlight on your camera, you'll see it about 7.5mm right of the camera.