I have a material instance that I have applied to a static mesh. I want to expose material instance’s properties throw the mesh to been able to change material color, etc.
How can I do that?
I have a material instance that I have applied to a static mesh. I want to expose material instance’s properties throw the mesh to been able to change material color, etc.
How can I do that?
There are Costant Material and Dynamic material , the dynamic can be edited in Runtime , you have to define them using parameters and not costant , here an example abd the docs where are all the information you need ,
This blueprint , at the begin , create an istance of my material , access his variable , and change his color to green.
and sure , he put on my cube.
I have created this git repository if you want to check all the project: https://github.com/ViaCognita/Estrellas. Sorry. I have forgotten to push it. You can also download Estrellas.sdf 7zipped here: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
Hi man , in there i found just a readme .
By the way here an example of how create some Actors, each one of them have his own dynamic instance of mymaterial, in the material i have used a PARAMETER VECTOR, not a Costant vector , and setted this Mycolor each time with a random color made up via floats.
Sorry. I have forgotten to push it. You can also download Estrellas.sdf 7zipped here: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.