I’m making a game, and one of the things I want to do is have plants grow when they’re in bright light, as well as giving a boost to a certain player when they’re in darkness.
I’m not sure how to implement this, though. Is there any way to find out how much light is hitting the floor or a specific point in space?
I’m not asking about how to get the color of a point (because colors have brightness), I’m talking about the light that emits from the sun and other light-emission objects.
I know I could probably loop through all lights and guess how much light is in a specific point in space that way, but I want to know if roblox has a function themselves to offer the value