It looked so real. He looked so real.

In an amazing hologram, rapper Tupac Shakur, who was murdered in 1996, graced the stage Sunday night at Coachella, and did a duet with Snoop Dogg.

In the closing set of the three-day festival, the lifelike image of a shirtless, tattooed Shakur rose up and magically appeared in the darkness.

Raising his arms into the air, he yelled, "What the (expletive) is up, Coachella?!"

Shakur's song Hail Mary was then played, with the hologram moving as if it were performing, and then Snoop Dogg joined him for a duet of 2 of Amerikaz Most Wanted.

MTV reports the hologram was the work of Dr. Dre and some special effects magic.

According to a spokesman for Dre, the lifelike image of Shakur was created by Hollywood effects house Digital Domain, the Oscar-winning CG factory that made CG images of Brad Pitt in The Curious Case of Benjamin Button and other films.

"We worked with Dr. Dre on this and it was Dre's vision to bring this back to life," said Nick Smith, president of AV Concepts, the San Diego company that projected and staged the hologram. "It was his idea from the very beginning and we worked with him and his camp to utilize the technology to make it come to life."

Of course, the hologram was so cool that he's already got his own Twitter page.