I am trying to create a scene looking through a dirty window or Lens and I am wondering if it is possible to create Real time Lens flare with Cycles.

Shining the light directly at the camera with a dirty glass plane (lens) in front of it. Is there some kind of node set up to get the glass to refract a "lens flare" that the camera could pick up.

Doesn't have to be realistic.

enter image description here

I feel like it can be done, but I can't control it at all.

enter image description here

  • 1
    $\begingroup$ Something like the osl shader in the answer to this question maybe? blender.stackexchange.com/q/1864/15924 $\endgroup$
    – Timaroberts
    Apr 11 '17 at 18:11
  • $\begingroup$ Awesome I will check that out, don't know much about OSL shaders though. I will definitely check that out. $\endgroup$
    – icYou520
    Apr 11 '17 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.