Seems like we should be able to use Webots' [LightSensor](https://cyberbotics.com/doc/reference/lightsensor?tab-language=java) for this purpose.