I need to do stuff dynamically in a scene based on whether the camera is seeing mostly dark- or mostly light-colored objects. I don’t need color values, just some sort of brightness value. For example, if the camera is seeing all white stuff, then something would return 1; all dark objects, 0; half and half, .5f, etc.
Any general ideas on what roads to go down here? I’m at a loss…