This is all well and good if you want displacement effects for the entire camera view, but think about effects like exhaust heat distortion or a Predators cloaking armor which has a refractive property.
These can be done using a nice little shader effect called Dispersion.

The script is quite long, but I can post the source (NOT GS compatible...) if people want to try to convert to GS.