I'm writing a set of tools for use in cinematics and i'm trying to find out if maya has a certain attribute to help with one of the tools. I was wondering if objects have a way of reading how much light they are receiving. For example, a spot light is lighting an object with a brightness of 3, the object it is lighting…
Light linking would be a very basic way to do it. Just directly referencing the value of the lights intensity... But it doesn't really work well - what if the light is pointing away from the object, or there is something occluding it?