Hey all,
I've been thinking a lot about photography and lenses lately, and thought I would post some experiments I have done regarding recreating such effects in corona.
First up is a chromatic aberration test.
Chromatic aberration occurs when you have a lens that is unable to converge all the color wave lengths on the same point. Going off this knowledge I proceeded to model a lens, placed it in-front of the camera and rendered out the different color channels (R,G,B) using the tint controls in the frame buffer. With each RGB render I changed the IOR of the lens R(1.42) G(1.45) B(1.47)[For accuracy green is always the middle IOR value due to it's place on the color spectrum]. I then took each rendered color channel and the combined them in photoshop with additive blending. Here is the result.
As you can see, like in a real camera the aberration becomes more pronounced the further away from the center. pretty neat