Is it possible to modify a bunch of materials ?

I’m dealing with a photogrammetry to VR pipeline. I have a scenario with 12 static meshes made with a photogrammetric software (photoscan). Each mesh has 8 materials. Basically I have 128= 96 materials (each with one 20482048 texture). I need to modify ALL these materials with the same parameters: metallic = 0, roughness from the red channel of the albedo texture. How can I do this inside the UNREAL editor and NOT at runtime ? Thank you guys.

Hi Emanuel. What about if you create 1 master material, parameterise everything you need to change. Then you just create material instances and change what you need.

134553-text01.png

134554-text02.png

Hope this helps, Tom.

Thank you Tom. Is this workflow correct ?

  1. create a master material
  2. create an instance
  3. take a material in my mesh, annotate the albedo texture
  4. put the albedo texture in the instanced material created at step 2
  5. repeat steps 2-4 another 91 times (I have 92 materials).

Is it correct ? I’m not sure if I’m doing something wrong: the procedure you suggest seems to be very time consuming.

Thank you, I will try to script a solution. Best

Yes, this is the normal work flow in unreal. I don’t think there is a way to do this automatically,easily. Maybe you could script something but I haven’t seen anything.