how to make a ghost effect like this?

use fresnel in your material.