Same shader: Yes.
Same shader algorithm: Kinda.
Same entity: Yes.
@Slin: Not %100 the same lines of code (Since Unity uses another shader language), but yeah, they do all the same thing, they have a very close algorithm.