I'm currently trying to do a Star Wars scene in blender and realized that all large spaceships/space stations have lots of tiny windows on them (which appear as lights):
How can I replicate this effect in blender? The model I use didn't come with any texture for the lights. I've been trying to do a mix material based on a noise texture, but the result doesn't look very good:
I think the reason for the not looking good is that the lights are too dense and not rectangular. Another reason might be that some of the lights are placed too close to edges where it wouldn't be plausible for a window to be in real life.
How can I replicate this effect in blender?