Ue4 Delete Material Slots

Hello guys,
Node
Result
I am trying to add material parameters on the tool and it works well, but it doesn't create the material slots if there is no material file inside of the file path. I tried to find other ways to solve the problem like adding material string path and adding multiparm folder, but string doesn't get populated like material slots and the multiparm folder materials doesn't attach on the mesh properly. Is there a way to make populate-able material string path or add material slots without placement (string is better option for me)?
  1. Ue4 Delete Material Slots Youtube
  2. Ue4 Delete Material Slots Free
  3. Ue4 Delete Material Slots Online

Attachments:
Capture.PNG (858.8 KB)
Capture1.PNG (371.6 KB)

I need some help in removing all material slots in one go using a python script. I am able to use this, would prefer to ave all removed. Bpy.context.object.activematerialindex = 0 bpy.ops.object. A simple macroscript to delete all unused materials from the Compact Editor Material Slots AND the Slate Material Editor Views. The Compact Editor Code is from the existing Macro found under the Compact Material Editor 'Utilities' menu. I have added the code to also purge the SME at the same time.

Tried using Quixel megascans as is, separate textures, joining faces in Blender, making new material to apply here. Problem is in geometry I assume, but faces are flat. And joining them does absolutely nothing. Blank rectangular faces have no problem with textures. These 'complex' ones - do. Material slots are imported from Blender. You can purge the whole scene, but when you join and separate objects the list of materials grows, and there is no way to automatically clean it. All Communities Blender.Today Community-driven Blender news, chat, and live streams!

You need to use a prim attribute “unreal_material” to enable the slots in UE. The drawbacks is that you don't have the nice UE dropdown but a string in which you need to put the material reference (right click on the material in the content browser > Copy reference and paste it to the string parameter).
What is nice about it is that it keeps the references on recook

My model accidentally came with multiple materials on it, I tried deleting the materials in Blender and reimporting, but the mats still show up in Unity. If I set the Material size to 1, parts of the mesh disappear. I can assign the same material 3 times, but that looks unprofessional and interferes with a script I need.

DeleteUe4 delete material slots download

Ue4 Delete Material Slots Youtube

sorry for the late respond.
Thank you for the explanation about the unreal material system. I want to use string to add the material, but it doesn't allow me to add multiple material on the mesh at the same time. For mine, the mesh has more than three shop_materialpath attribute that has to be used in ue4, but only one of them can be used if I use string. Is there anyway I can populate the string parameter based on attribute value like add three string if there are three material attributes?

Attachments:
MAt.gif (172.3 KB)

Free
sungho1114
sorry for the late respond.
Thank you for the explanation about the unreal material system. I want to use string to add the material, but it doesn't allow me to add multiple material on the mesh at the same time. For mine, the mesh has more than three shop_materialpath attribute that has to be used in ue4, but only one of them can be used if I use string. Is there anyway I can populate the string parameter based on attribute value like add three string if there are three material attributes?

or is there any easier way to separate materials in one mesh in procedural way for ue4? I don't have to use string to do it (it is efficient, but if it is more important to make it easy to use) I went through research, but I couldn't find any good resource other than material instance (I tried to use material instance, but I couldn't find a way to use it properly).
  • Quick Links

Ue4 Delete Material Slots Free

Ue4 delete material slots free

Ue4 Delete Material Slots Online

Search links
Show recent posts
Show unanswered posts