Hi! (I admit, I’m away from my PC with UE, so I’m working at least in my head)
I’d like to ask you two questions:
Is there a way to give a merged modular building random windows? Currently I know no better way than assigning to every window a different material instance. I guess it’s not the best way to do it, or is it?
I’ve been thinking about “living night windows”. Meaning, they all don’t switch all at once but they randomly switch on/off according to the daytime. I’ve achieved this with Game Maker when I was stuck with it.
See in the video: Living building video - Vikom - Mod DB
Maybe it wasn’t performance efficient, I don’t know, GM sucks in 3d, so that prototype didn’t go much further. Still, that result was almost perfect for me.
I’m wondering, what’s the best way to achieve such result in UE4?
My (still quite amateurish) idea is: as in the previous question, windows have different material instances. Let’s say, 200 windows, and 60 material instances overall. The instances would be dynamic and a specific actor would randomly switch their emmissive colour multiplier.
I see a problem in the number of material instances. I think it’s too much instances for development but still not enough to make it look good. If I’m right, if you switch the dynamic material, it affects every occurance of the instance, doesn’t it?
So, I would like to ask you, if there is a way to randomly assign material instances to windows; and if, during runtime, is there an efficient way to change any window’s parameter indepedently on other windows.
I would be very glad for any answer, even one saying that there’s no better way.