Random Emissive Strength for a Single Material

Hi, I have a building model, with all windows using a single material slot.
I want all windows to use a single material, with a single material slot, but have a different emission strenght, from 0 to 100. Currently I just hide the emissive windows behind black plane meshes in order for the light not to be β€œon” on every window, but this works only for background buildings, and when the player is close to tjhe building - the trick is visible

I dont want to use a different material for each window and create 50 material slots. There should be a more optimization-friendly solution

If they are instances, you can use

image

To randomize them.

If not, then you can use

to change them to instances.

1 Like

Thank you man