It's now official ... Mark Salling got booted from his starring villain role in "Adi Shankar’s Gods and Secrets" -- just days after his child porn indictment ... TMZ has learned.
We're told production will start re-shoots of Salling's scenes, and Shankar is personally footing the bill for it. We're told Shankar is going a step further ... donating a percentage of profits from the project to an abused children's charity.
The former "Glee" star was indicted last week on 2 counts of child porn. Shankar reacted quickly, saying ... "Child abuse is a cultural cancer whose tentacles penetrate far deeper than a single celebrity caught with illicit images on his computer."
We're told Salling's replacement has not been cast yet.