How to create random color on spawned decal?
Hi I have decal which I used in projectile blueprint, it is spawned at the place where bullet hits the object. The decal should have random color each time it is spawn and fade after few seconds. I made the fading working. but not 100% happy with this. I was trying to add random colors to the texture by adding setColor function into blueprint which use Global Collection Parameters, but actually it does not work at all and I don't have idea how to do this.
Here is Link to Youtube Video of what I actually achieved till now, maybe it will become clearer
I am a newbie to the UE4, so please if someone can explain me all that I will appreciate this.
Bellow I place blueprint I create on the basic projectile basis, and Material I have
You can only set parameters on an Dynamic Materials Instance. The "Collection" Parameter of "Set Vector Parameter Value" is the reference to the Material of your Decal.
answered Dec 07 '15 at 12:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here