Generate SVBRDF materials using Latent Diffusion Models, without leaving Blender.
- Python 3.8+
- Blender 4.1+
- CUDA drivers 12.1+
- 4GB+ NVIDIA GPU
- ~15GB free storage space
- Download the
.zip
file from this repository
-
Open Blender, then
Edit -> Preferences -> Add-ons -> Install
-
Select the zip file you downloaded
Window -> Toggle System Console
-
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.
- Now, you will find Material Crafter on the right side of the panel, clicking on the arrow.
- Specify your prompt and generation parameters and click on
Create Textures
.
-
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 theViewport Shading
toMaterial Preview
orRendered
- 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.
Thanks to Cozy Auto Texture for serving as a reference to this codebase.