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:

  • Add a new Reinhard Highlight Compression operator in the Post tab of the Corona VFB and increase its value:
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).
 
  • Enable Sharpening & Blurring in the Post tab of the Corona VFB:

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).
  • Enable Bloom & Glare in the Post tab of the Corona VFB:

jagged-sharpen-blur-bg.jpg

Additionally enabling Bloom and Glare will help get rid of the jagged edges, however it will also add a "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, change Image Filter Type  to Box and Width to a higher value (like 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 blurrier. 
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 saved in an 8-bit format.  

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