download: ==> omino glass 32 <== a pixel bender filter
There was a flurry of interest in "chromatic aberration" a while back, like here. I’d actually played with it a bit, simulating lens-effects, but only now have gotten around to weighing in on it.
The implementations I’ve seen work by splitting out your RGB and moving them around a little bit independently.
Here’s my weigh-in: Come on, people! The spectrum has more than three colors!
I find that five to seven is about right. I’ve implemented this combined with refraction into a pixel bender plugin.

Refraction happens when a ray of light changes its direction as it passes from one substance to another, if they have aaah, varying, that is, if they have different, um, refractive indexes. And that’s how aaah magnifying glasses work. See.
It looks like this.

The blue lines are rays of light moving up, or cast-sight-rays going down. It’s all very technical.
But I’ve got this Pixel Bender filter, right?
The filter takes in two images: a bump map (the refracting surface) and an image to view through the refraction. Here’s a bump map:

And here’s a source image:

Those chairs are known as “Chadwick Modular Seating”, from Herman Miller, designed by Don Chadwick, who later designed the Aeron chair, and that room hasn’t been that empty for, like, six years, after my girlfriend moved in and filled it up with shoes and stuff. So anyway.
And here’s the image, through the omino_glass Pixel Bender filter:

Now the fun part. Chromatic aberration happens when different colors are refracted by different amounts. Here’s the same image with just a touch of chromatic aberration applied:

Livens it up a little bit, yes?
The “flat” parts of the image, under the non-sloping parts of the bump map, appear undistored, and uncolored. But the distorted parts of the image have their colors splayed out a bit.
That’s chromatic aberration, comma, simulated.
By the way, you can get this effect in After Effects using CC Glass and overlaying multiple tinted copies, with slightly different settings for Height, and adding them back together. But that’s a lot of layers and settings to juggle; my pixel bender filter does it all in one at 32bpc instead of 8.
Here’s a test grid set with no basic refraction, and lots of chromatic aberration. This leaves the central green portion of the spectrum centered on the original image.
The inset image is the bump map.
We can see how omino_glass breaks the spectrum up into seven regions. It’s arbitrary, but I like the look.
And here’s a little demo showing the filter in motion, animated in After Effects, out on the ‘Tube.
download: ==> omino glass 32 <== a pixel bender filter
Other chromatic aberrations of interest, from some of my favorite blogs:
ae-tuts
maltaannon
satya meka
Hi, I hope you can answer me as quick as possible, because I am having a problem with your Omino Snake plugin in combination with After Effects CC. When I am following the tutorial on vimeo about the layer and path thing, it’s not connecting to the image I am using. I also tried to put the image in a new composition, but that doesnt help. I hope you can help me out because I really like the plugin!
Hello —
The most likely two things are:
1) there’s a Bug where the snake image size start as 1%, so too small to see, set slider up to 100%.
2) the vertical-offset needs to be set to around 1/2 the height of your snake image.
That might be the issue, best.
thanks for your quick help. I am a bit further now, it is showing two circles now instead of nothing. here is a screenshot of what i see now http://oi57.tinypic.com/2psocnk.jpg. I am not able to see my puppet anymore when i click the path-layer off. I am still doing something wrong but i am following this tutorial https://vimeo.com/66024290 step by step…
Sorry for al these reply-bombing. I am further by setting the scale to 80%, but it is using my image the wrong way. the left puppet is how i want it to show on the path (like your snake) but it is turning it into the one you see on the path.. what am i doing wrong? http://oi58.tinypic.com/dbo9iv.jpg
Ah, yes, the “snake” image has to be horizontal, long in X and narrow in Y.
Wow thanks for your quick reply! that worked! now another problem (hope its the last one!) when i want to set the keyframe for it to move, it is only visible in the first frame, changes color in the second en then disapears.. so i cannot set the ‘advance’ to when i want it to ‘snake’