- Home /
Using a sequence of frames as a material emissive map.
Well, I think the title doesn't describe what i need so here is the situation,
I have an HDRP project in unity, and the city have multiple advertising panels around, each panel have a sequence of 4 to 9 frames showing multiple products, after all its for advertising.
the first texture attached to the model is simple just some concrete and metal of the advertising panel's supports, the second one where the emissive map is going to be placed is also doing fine the materials shows up glowing with some emission intensity and what not.
The problem i want to solve is that I want to the emissive material to change the emission texture randomly and over time, i don't want it to be static just going 1 , 2 , 3 ... 9 but the problem here that i can't find a way to change the emission map at all, even using the SetTexture("_EmissionMap",texture) or SetTexture("_EmissionColorMap",texture) doesn't work.
Hope the details are clear, I jst wanna pick a texture from an array randomly, and easy, and then place that one in the emission map, again it an HDRP project