I can see jagged edges in my rendering!

In some situations, particularly when there are places where bright and dark pixels meet, "jagged" or "aliased" edges may appear:

jagged-default.jpg

The scene above contains square lights with various intensities. Jagged edges are especially visible in places where very bright areas meet very dark areas. 

Click to enlarge.

 

To prevent this from appearing, you can try the following options:

  • In Render Setup > Camera > Postprocessing > Tone Mapping (or in the Corona VFB), increase the "Highlight compression" value until hard edges disappear:
jagged-hcomp10.jpg
Highlight compression increased to 10. This will "compress" the brightest areas of the image, while still preserving high dynamic range. 
Click to enlarge (and compare with the original image above).
  • In Render Setup > Camera > Postprocessing >(or in the Corona VFB), enable Sharpening/Blurring:

jagged-sharpen-blur.jpg

Sharpening and blurring enabled. Note that this will blur and sharpen the image at the same time, meaning that slight blur will be introduced, however, it should not affect the overall image quality, and mostly get rid of "pixel-perfect" noise and hard edges. 
 
Click to enlarge (and compare with the original image above).
  • In Render Setup > Camera > Postprocessing (or in the Corona VFB), enable both Sharpening/Blurring and Bloom and Glare:

jagged-sharpen-blur-bg.jpg

Additionally enabling Bloom and Glare will help get rid of the jagged edges, however will obviously add the "glow" effect around some of the brightest objects.
Click to enlarge (and compare with the original image above).
  • Go to Render Setup > System > Frame buffer > Image filter and change Type to Box and Width to a higher value (such as 4):
jagged-filter-box4.jpg
Changing filter type to Box and increasing its width will help get rid of the jagged edges, but will also make the image much more blurry. 
Click to enlarge (and compare with the original image above).
  • Go to Render Setup > System > Frame buffer > Image filter and increase Highlight clamping:
jagged-hclamp2.jpg

Highlight clamping increased to 2. This "clamps" the brightest areas in the image, however, the drawback here is that the high dynamic range of the image will be lost, so this option should be used as a last resort unless the image is not intended for further post-processing (it is not needed to save it in a 32-bit format).

 
Was this article helpful?
0 out of 0 found this helpful