The late Peter Cushing is reportedly set to appear in the upcoming spin-off Star Wars Rogue One, thanks to the magic of CGI. According to the Mail on Sunday, Cushing will rise from the dead onscreen to play the iconic villain Grand Moff Tarkin in the upcoming movie, which is set between the events of Episode III and Episode IV.

Felicity JonesFelicity Jones stars in Star Wars: Rogue One.

“This is one of the most complex and costly CGI re-creations ever,” a source told the newspaper. “Cushing is a pivotal plot line as he was the one to create Darth Vader and there’s a whole back story that will come out.”

More: J.J. Abrams Broke His Back Helping Harrison Ford After Accident On ‘Star Wars: The Force Awakens’.

However one major issue is said to be that Cushing reportedly wore slippers on the set of Star Wars because his character’s shoes were so uncomfortable. That means that he was only shot from the ankles upwards, and no film footage exists of his feet. 

"They are going through hours and hours of old footage from the horror movies to recreate his legs and feet to produce realistic movements. It is eerie to see someone who has been dead for so long come to life on a screen,” the source added.

More: Director Josh Trank Leaves 'Star Wars' Spin-off, Citing Personal Reasons

Star Wars: Rogue One is scheduled to hit cinemas in December 2016. It will star Felicity Jones, Diego Luna, Forest Whitaker, Ben Mendelsohn, Riz Ahmed, Mads Mikkelsen and Alan Tudyk. The film is set before the events of the first Star Wars movie and centres on a rebel mission to steal plans for the first Death Star.