Mechanical vignetting occurs when parts of a camera or lens physically obstruct light, causing darkening towards the edges of an image. This effect is typically more pronounced with wide-angle lenses or when using lens accessories like filters or hoods that are not properly sized.