That’s actually more complex than you’d think. Most tint shops refuse to tint sunroofs; any moisture trapped between the film and glass will cause shattering due to the heat and stress. I’d think the right way to go would be film between plates like a windshield, though that would be very heavy and expensive.