Jump to content

Labs baker dynamic naming


Recommended Posts

Hi everyone,

I'm making an automated pipeline where high poly photogrammetry geometry comes in, and low poly geo with baked textures come out.

Everything is working, but all the materials in the fbx are simply called 'baker'. The textures are working fine, but I'd like to get the right name in the fbx model, so UE4 can automatically import the meshes and create all the textures.

I've tried by using the PDG variable inside the quick material inside the labs baker, but that only works once and keeps the same name. I've also tried renaming the material by using a prim wrangle: 's@shop_materialpath = "/obj/fbx_test/maps_baker2/sop_quickmaterial1/matnet/MI_`@filename`";', but no success here either...

So I either need to be able to change the way the labs baker writes out material names (and link to PDG), or be able to change the name afterwards and make sure the material stays assigned.

I've attached the file, any help would be highly appreciated. Thanks a lot!



Screenshot 2021-02-16 at 19.36.59.png

Screenshot 2021-02-16 at 19.37.09.png

Screenshot 2021-02-16 at 19.38.00.png

Screenshot 2021-02-16 at 19.38.57.png


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...