Jump to content

MaterialX from a directory of usual PBR maps


Recommended Posts

What is  your method to create a .mtlx file, or maybe some other method in Stage to create a material, from a collection of files that respects the PBR naming convention, but doesn't come with a pre -made .mtlx file ? 

I know it's probably a one liner script but I'd rather use something that is tested. I'm assuming you can create a minimal mtlx file from just the maps; looking at some sample mtlx files, it looks like a two stage graph where the uv coordinate are passed to each PBR map, and each map is passed to its matching entry in the PBR shader. 

Example

https://freepbr.com/materials/alien-abstract-metal/

Content of the archive:

abstract-alien-metal-bl/abstract-alien-metal_albedo.png
abstract-alien-metal-bl/abstract-alien-metal_ao.png
abstract-alien-metal-bl/abstract-alien-metal_height.png
abstract-alien-metal-bl/abstract-alien-metal_metallic.png
abstract-alien-metal-bl/abstract-alien-metal_normal-ogl.png
abstract-alien-metal-bl/abstract-alien-metal_preview.jpg
abstract-alien-metal-bl/abstract-alien-metal_roughness.png

 

Edited by AntoineSfx
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.

Guest
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...