Titled "All Eyez on Me" the film will Hector, 40, will play Mutulu Shakur, stepfather of the rap icon, reported Variety.
The cast of the Morgan Creek movie is currently shooting in Atlanta.
The film also stars Danai Gurira, Kat Graham and Demetrius Shipp Jr in the lead role.
"All Eyez on Me" chronicles the life journey of Tupac Shakur, including his rise to superstardom as a hip-hop artist and actor, his imprisonment and his time at Death Row Records.
The title of the film is taken from Shakur's fourth studio album, which released in early 1996.