Download

how to make random colors

how to make random colors in material editor, want to make some random color cubes

You could use BluePrints, or also you could keep it all in the material editor and use something like the world position to help decide a random color to assign, depends on your wants and needs.

https://youtube.com/watch?v=i2XmTbfIJ3s

I would also suggest generating them in HSV space and them converting them to RGB. If you just generate RGB with each channel from 0 to 1 you can get a lot of dull or dark colors when all the random numbers happen to be similar. HSV lets you generate a random hue and then crank up saturation and value so you always get bright colors.

thanks,seems BluePrints is more power:D

:)that’s really helpful

that’s really helpful :cool:

Just saying I tried that in CPP using linear colors and this line is working really well:

FLinearColor::MakeRandomColor();