How would you do it? Material for randomly light/dark City Building Windows

Hi. Can you explain why?