I've created a tutorial that walks though creating a two stage shader for characters (and other objects too) so that you can fade them to invisible. Simply turning on transparency will leave any non-convex mesh with artifacts you probably don't want, so this shows how to draw the depth in a separate pass to get around that.