Hey
So I have a maya scene with usd preview materials that I want to save as USD and load in UR5 & use existing UE5 materials that have the same names.
Does UE provide any way of doing it ?
On anot her side, I was digging in to API/python for usd to add the materials myself in usd file post save/export…
From what I can tell for it to “work” I need to map my geos/materials >
def Material "UnrealMaterial"
{
token outputs:unreal:surface.connect = </group1/pPlane2/UnrealMaterial/UnrealShader.outputs:out>
def Shader "UnrealShader"
{
uniform token info:implementationSource = "sourceAsset"
uniform asset info:unreal:sourceAsset = @/Game/materials/USD_MAT_B.USD_MAT_B@
token outputs:out
}
}
Now I need to either usd pythonAPI to add it manually or hack some text editor… “Fun times” in any case, would any1 know where/how to do it & could give me a head start?
Any idea where in source UE5 does it ?