The toon effect produces a non-photorealistic rendering on the input image to mimic the style of comic books or cartoons by applying large blocks of colors to shadows and highlights rather than smoothly mixing them in a gradient.


  • Edge Threshold : The granularity of edge detection. Values should be between 0 (extreme granularity) and 1 (low granularity). Values above 1 have very little to no added effect. A good practice is to start with a value of 1 and slowly bring it down closer to 0 until black dotted pixels start to appear in the image. Keep the Threshold above that value.
    Default : 0.03
  • QLevel : The number of color levels to apply. Applying more levels of color will soften the cartoon-like effect, while applying very little levels of colors might break up the image. Proper values depend on the media the effect is applied to.
    Default : 32


Name Type Description
Image Image Image input on which to draw the effect
Edge Threshold Float Granularity of the edge detection
QLevel Float Number of color levels to apply


Name Type Description
Image Image Image output of the effect


In this example :
  • Edge Threshold : 1.0
  • qLevel : Animated with an LFO between 5 and 15

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.