Skip to content

Generate SVBRDF materials using Latent Diffusion Models, without leaving Blender.

License

Notifications You must be signed in to change notification settings

rensortino/material-crafter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Crafter

Generate SVBRDF materials using Latent Diffusion Models, without leaving Blender.

Minimum requirements

Usage

  1. Download the .zip file from this repository

Download

  1. Open Blender, then Edit -> Preferences -> Add-ons -> Install

  2. Select the zip file you downloaded

Install

⚠️ NOTE: It is recommended to open the output console from Window -> Toggle System Console

Console

  1. Accept the licenses and run the installation of the dependencies. This will create a python virtual environment (venv) in the specified path and install a set of predefined libraries.

    ⚠️ IMPORTANT: this will take some time and Blender will hang until the installation has finished. Follow step 2 to open the output console and monitor the installation progress.

Install Dependencies

  1. Now, you will find Material Crafter on the right side of the panel, clicking on the arrow.

Panel Location

  1. Specify your prompt and generation parameters and click on Create Textures.

Run Generation

⚠️ NOTE: before generating texture maps, you need to select an object you want to apply it to.

Invalid Object

  1. Now you material should be applied to your selected object. If you want to see your texture maps, they are also saved in a local folder, specified in the input field.

    ⚠️ NOTE: To visualize the material applied to the mesh, remember to set the Viewport Shading to Material Preview or Rendered

View Mode

  1. You can see in the Shader tab that a new material has been created, named M_MC_{MATERIAL_NAME}, and the generated maps have already been assigned their own corresponding node.

Shader Tab

Credits

Thanks to Cozy Auto Texture for serving as a reference to this codebase.

About

Generate SVBRDF materials using Latent Diffusion Models, without leaving Blender.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages