There are lots of photosensitive molecules around. I suggest you look in google for the spectacle lenses called "transitions" ( I think that is the name) there you may be able to find out exactly what the compound used is called.
I have these lenses in my glasses and they are great.