Jake Gyllenhaal speaks about Heath Ledger's tragic death and the way it changed him.

Some extremely close relationships were forged during the emotionally draining film-shoot of Brokeback Mountain in 2005.

Jake Gyllenhaal was profoundly affected when just a few years later, Ledger died at 28.

Gyllenhaal, 35, has been acting since he was 10 years old, and was inured to the artifice and fake friendships of Hollywood, but the Brokeback Mountain shoot changed him.

“None of the attention or synthesized love that comes from the success of a film really matters at all,” he told People.

Heath Ledger and Jake Gyllenhaal in Brokeback Mountain.

"What matters is the relationships you make when you make a film, and the people you learn from when you’re preparing for a film. That changed a lot for me."

The shoot also brought together Ledger and Michelle Williams, who married and had a daughter, Matilda, and Gyllenhaal became close friends with Anne Hathaway, too.

When he learned of Ledger's death, Gyllenhall was 27, "an age where mortality was not always clear to me". It changed him forever.

“Personally, it affected me in ways I can’t necessarily put in words or even would want to talk about publicly,” Gyllenhaal said.

Watch the trailer for Brokeback Mountain. Post continues after video...

Video by Paramount Pictures

On a lighter note, he also spoke about another former co-star with whom he shared a meaningful shoot: Jennifer Aniston.

He played her younger lover in The Good Girl, when he was just 22.

"I will say, I had a crush on her for years. And working with her was not easy. I was – um, yeah. That's all I'm going to say. It was lovely. It wasn't hard, that's what I would say."

Jennifer Aniston and Jake Gyllenhaal.