Creating Material with random color?

Is it possible to spawn an actor with a random color out of all the possible color combinations? I can spawn something from a list of set colors by using multiple materials that are different colors, but I’d like to have 1 material that is randomly assigned a color when the actor is created. Any help is appreciated. Love you all.

You can break the color into it’s base RGB numbers right? Try using a Random Int generator to provide inputs for each of those colors.

I think best will be to randomize color in blueprint and send it to material via parameter

2 Likes

Thanks, this solved the issue.

1 Like