In Photoshop CS, but I'm sure it's translatable to other versions of Photoshop.
See the tutorial here at cat_kirk.