Oooo thats a great link, thanks! I wasn't asking how though, I was asking why. Whats the benefit to being bright at night?
To start, we must clarify, and ask not what is the benefit, but why has this trait remained, when it would seem to make them stand out, in a compromising position?
I then ask, what is it that would see them at night, and think they looked tasty?
If anything, I would assume it to be birds. Or maybe some sort of nocturnal, carnivorous, mammal.
I imagine there are many brightly colored leaves, flowers, and fruits and such in the jungle, that also glow and stand out against tree trunks, and darker leaves. So I dont think a bird flying around would necessarily notice a bright panther on the edge of a branch.
The nocturnal, carnivorous, mammal would need to make its way to the chameleon, thus, it would need to climb along the branch the animal is on.
As Stalincat has stated, they tend to sleep at the very edge of a branch. This gives them advanced warning of any supposed nocturnal, carnivorous, mammalian attack, as the branch would shake and sway as the nocturnal, carnivorous, mammal made its way towards making its way to making the sleeping chameleon lunch.
Also, these supposed predators may not necessarily see the same spectrum of light as you or I, so that may also be a factor.
Furthermore, I assume that the amount of UV light hitting the skin has a lot to do with it. The tissue may just be responding to the change in lighting, possibly coupled with neuro-chemical and hormone changes that take place during sleep.