I want static meshes to have their textures or materials switched out with others, but I want the new materials or textures to be in the exact same place the other material or texture was. I have a class that will take player card information like name, player team, and player picture path. I need it to take the the picture path and import that image in and apply the image as the new texture or image. Does anyone know how to do this?
Changing static mesh materials or material's texture via blueprint with images located outside unreal project
use dynamic materials to switch out a material’s texture. When you create the dynamic material it will ask for a parent material. The parent material’s texture variable to should converted into a texture parameter. Then all you have to do is change the dynamic material’s texture parameter to whatever texture you want to be.
Can someone give a detailed answer? I am currently looking into the same problem, but I don’t know how to approach it. Do I need one Material which only contains Texture Sample 2D and another one which contains the whole construct for the dynamic material? And how Can I then connect those two materials ?
I would really appreciate the help