Lens Compositing Node

by NM-8 in Materials, Shaders, Textures

This is a compositing nodegroup that replicates lens  abberations in post processing.
see a quick test of the lens node here:


In the film industry lens abberations like lensflares and streaks indicate complex camera lenses, hence a big production budget.
This is the reason why CGI makes heavy use of Lensflares. Since John Knoll's lightfactory the usual and fast way to produce them digitally is by defining a point in the image that shines with a given brightness.
Based on this point the whole effect is created.
The downside of such an approach is that the point doesn't produce the whole area, that actually is bright in the image. Especially big bright areas cannot be represented by one point, neither in position nor in shape.

Therefor the lens compositor node uses the emission and glossy renderpass as input, using every pixel in the rendered image as sources to create complex and vivid lens abberations.

A complex nodegroup with efficient calculation lets you define the intensities of the different lens phenomena:

  • bokeh
  • streak color & streak
  • iris
  • star
  • halo
  • dust

the last parameter is quality which simply downscales the calculation to a smaller resolution. with lower quality the calculation gets slightly faster and phenomena get blurry.

This product consists of a blendfile with a sample scene, from which you can append the nodesetup into your scene.
The node is meant for VFX work, Motion Design and huge spaceships with lots of bright windows and engines flying through space approaching even bigger stars...

if you like this, have a look at my other items including:




About the Creator: 

I am 3D artist in the advertising & television industry for 25 years.
While working on projects and teaching animation at design college since 1998, i studied physics at the university of vienna.
That equipped me with a solid toolset of math to use in 3D workflows.

I started programming Blender addons and noding vector operations into shaders around 2012.
I love how Blender and Cycles offer a lot of opportunities to speed up rendering and fake depth into surfaces in many ways.

Sales 100+
Customer Ratings 2
Average Rating
Dev Fund Contributor
Published almost 6 years ago
Software Version 2.7x, 2.77, 2.78, 2.79, 2.8, 2.81, 2.82, 2.83, 2.9, 2.91, 2.92, 2.93
License Royalty Free
Have questions before purchasing?

Contact the Creator with your questions right now.

Login to Message