How to Fix Uneven Lighting in Paint.NET

Uneven lighting can ruin an otherwise great photo, leaving harsh shadows on one side and washed-out highlights on the other. This guide explains how to balance and normalize uneven lighting across an image using Paint.NET. By using a duplicated, inverted, and blurred layer set to a blending mode, you can effectively counteract lighting gradients and achieve a uniform exposure across the entire picture.

Step 1: Duplicate the Background Layer

Open your unevenly lit photo in Paint.NET. Go to the Layers window (press F7 if it is not visible) and click the Duplicate Layer button at the bottom. This creates an exact copy of your original photo directly above it, which will serve as your lighting correction mask.

Step 2: Desaturate the Correction Layer

Select the top layer. Navigate to Adjustments in the top menu and select Black and White (or press Ctrl + Shift + G). Removing the color prevents chromatic distortions and ensures that only luminosity values are adjusted in the final blend.

Step 3: Invert the Colors

With the top layer still selected, go to Adjustments and click Invert Colors (or press Ctrl + Shift + I). Inverting the layer turns dark, underexposed areas bright and turns overly bright areas dark, creating an inverse map of your photo's lighting.

Step 4: Apply a Heavy Gaussian Blur

To smooth out the details so the inverted layer only affects broad lighting variations:

  1. Go to Effects > Blurs > Gaussian Blur.
  2. Increase the Radius slider significantly. The goal is to blur away all fine details, textures, and edges, leaving only smooth gradients of light and dark. For high-resolution images, this value typically falls between 50 and 150 pixels.
  3. Click OK once the image resembles a soft gradient map of the lighting pattern.

Step 5: Adjust the Layer Blend Mode

Double-click the top layer in the Layers window to open its Layer Properties:

  1. Change the Mode dropdown to Overlay or Soft Light. "Soft Light" produces a subtle, natural adjustment, while "Overlay" provides a stronger correction.
  2. Observe how the dark regions brighten and the washed-out regions darken.
  3. Lower the Opacity slider to fine-tune the strength of the correction until the lighting across the subject appears balanced and natural.
  4. Click OK.

Step 6: Fine-Tune Overall Contrast

Correcting flat lighting can sometimes slightly reduce the global contrast. Merge the layers by selecting the top layer and clicking Merge Layer Down (or pressing Ctrl + M). Finally, go to Adjustments > Levels or Adjustments > Brightness / Contrast to restore depth, deepen the true blacks, and bring out natural highlights.