Lens Flare with Real Time Preview in Blender

Dylan writes:

I have been using Blender for several years and have recently started to learn OSL – Open Shader Language.

As a first project I embarked upon creating a lens-flare shader for Blender. In the process I came across a lens-flare shader, written for the Renderman language by Larry Gritz & Tony Apodaca.

I decided to try and port this to OSL – and to my surprise after a day of tinkering it worked! Along the way I added a few features, such as user definable images for lens-flare elements and have got to a point where the shader can now be released. Details about how to download and use this shader are given below – along with video tutorial links.

Link

Advertisement