for a real 3d-glass effect you'd need to take the depth information into account. the distance between the red and the blue extraction depends on the distance

btw, you may need a materialskill to define those colors, as there are red/green glasses, too