Substance Painter Blender



As of version 2.8, Blender can export GLB files that can added to a product in the Shopify admin. To learn more, see the Blender manual. For older versions of Blender, you can combine Blender and Substance Painter to export a GLB file. Here is a pic in blender in substance painter Normals seems to be inverted. I tried to export to FBX, but i ran into the same issue. So to try out, I inverted the normals in Blender, then exported again as.fbx. And the model displays correctly. I was wondering if buying substance painter is a good choice, and if so is painter more worth it then designer? And how is the process of importing textures into painter ie. From: Quixel, Substance Designer, Textures.com etc.? /r/blender is a subreddit devoted to Blender, the amazing open-source software program for 3D modeling. The tools we'll be using are Blender 2.9 and Substance Painter. You'll be able to watch the full process from start to finish. The course lessons are minimally edited without sudden jump cuts so you can see every mouse click, button press, and brush stroke.

  1. Substance Painter Blender Preset
  2. Substance Painter Blender Live Link
  3. Substance Painter Blender Controls
This page was printed on Apr 23, 2021. For the current version, visit https://help.shopify.com/en/partners/resources/creating-media/3d-models/creating-3d-models/blender.

As of version 2.8, Blender can export GLB files that can added to a product in the Shopify admin. To learn more, see the Blender manual.

For older versions of Blender, you can combine Blender and Substance Painter to export a GLB file.

Prepare your model for export in Blender

Blender Tutorial - Sculpting in Blender Part 2 of 2. Blenderlounge - Workflow blender substance Painter (french). Hand Painted Stone part 2.

To prepare your model for export, you need to make sure that it's a single mesh and that it has a single texture applied to it.

Steps:

  1. Click File > Import and then select the correct file format for your model.
  2. Select your model file, and then click Import.
  3. While holding SHIFT, right click each object in your scene, and then press Ctrl + J to join them into one mesh.
  4. Unwrap the model into 0-1 UV space. Make sure that no UVs overlap:
  5. In the Properties editor, click the materials icon.
  6. Click the + button to add a new material slot:
  7. Click New.

Export the mesh from Blender

  1. Click File > Export > FBX (.fbx).
  2. Enter the path to where you want to export the file.
  3. Make sure that you use the following export settings:
  4. Click Export FBX.

Import and prepare the FBX file in Substance Painter

  1. Create a new Substance Painter project by clicking File > New.
  2. In the New project dialog, click Select to choose a mesh.
  3. Select the FBX file that you exported from Blender, and then click Open.
  4. In the New project window, click OK.
  5. Verify that you correctly exported your mesh by checking that there's only one texture set in the Texture set list panel.

    If you see more than one texture set, then see Multiple texture sets.

  6. In the Texture set settings panel, click the + button to add channels:

    • Required: Ambient occlusion.
    • Optional: Emissive. Add this channel if your model has components that will emit light.
    • Optional: Opacity. Add this channel if your model has components that will be transparent.
  7. In the Texture set settings panel, click Bake Mesh Maps.

  8. Paint textures on to the model.

Multiple texture sets

When you import the FBX file into Substance Painter, you should see only one texture set:

Substance painter blender plugin

If you see more than one texture set, then one of the following was wrong when the mesh was exported from Blender:

  • The mesh wasn't combined into a single object.
  • The mesh had more than one texture assigned to it.
Blender

If that's the case, then export your model from Blender again and make sure that the mesh is a single object and has only a single texture assigned to it.

Export the glTF file from Substance Painter

  1. Click File > Export Textures.
  2. From the Config drop-down menu, select glTF PBR Metal Roughness.
  3. Choose the location where you want to save your textures.
  4. Choose a document size to determine how large the texture files will be.

    Tip

    Usually textures don't need to be larger than 2048 x 2048 px. Use 1024 x 1024 px where possible to reduce the total file size significantly.

  5. Click Export.

Compressing texture files

When you have exported the model, you should have the following files:

  • modelName.bin
  • modelName.glb
  • modelName.gltf
  • modelNamebaseColor.png
  • modelNamenormal.png
  • modelName_occlusionRoughnessMetallic.png

When using the glTF PBR Metal Roughness configuration, Substance Painter exports texture files only in PNG format. Consider compressing the texture files and converting any textures that don't need an alpha channel to a JPG. This reduces the total file size, and smaller file sizes allow for quicker download speeds and smoother interactions.

It's best to keep your file size to 4 MB or smaller.

Create a GLB file

Note

If you change your PNG images to JPG, then you need to edit the readable glTF file and change the necessary PNG references to JPG before you package the glTF into a GLB. Open the glTF file in a text editor, update any file names from PNG to JPG, and then save the file.

  1. Visit https://glb-packer.glitch.me/.
  2. Drag and drop the files that you exported from Substance Painter on to the GLB Packer web page.

A file called out.glb will be downloaded to your computer. After the download is complete, you can rename the file and then upload it to Shopify.

Hello guys, today’s video will be about “How to Install” and “How to Use”the Substance Painter Live Link with Blender, so let’s get started!Once you download the .ZIP file and extract it, you’ll find a folder like this one,To install the plugin, you need to open the Substance Painter Folderand copy the hhconnect folder to the Allegorithmic’s plugins paththat is usually located in:Documents/allegorithmic/substance painter/pluginsnow, when you open Substance Painter, the plugin will be available as you can see hereInside the folder you downloadedyou will find a folder called blender that contains a ZIP file called blender,that contains a ZIP file called hhconnect,we’ll use this ZIP file to install the Blender addonlet’s Open blender,go to: File > User Preferences > Addonsand click Install Addon From File,select the hhconnect ZIP fileand activate the addon.you will now see a new panel in the left called Xolotl that will have the Live Link pluginif by any chance your Blender addons are not installed in the default pathsthere is a configuration file inside the Substance Painter plugin folder, called hhconnect.envin which you can set a variable called blender_path with your custom addons path as you can see in the examplejust set it like this with your custom location,don’t forget to include the “hh_connect” folder at the end of the pathand to remove the pound key (#) at the beginning of the text lineTo use the plugin in Blender all you need to do is click Start Listening in the Xolotl tab,now Substance Painter will be able to communicate with Blender.This release works with Cycles and Evee, so if you have another renderer selectedit will be changed by default to Cycles when you click the start listening button.The “Interval” parameter defines how often the plugin will check for new information comingfrom Substance Painter, if the scene becomes kind of laggy, you might want to increase this parameter value.Also we have three buttonsDelete Unused Materials - will remove all the materials that are not assigned in the sceneDelete Unused Textures - will remove all the textures that are not assigned, andand Delete Unused - that will remove both materials and texturesnow in Substance Painter, we need to set up the plugin to work with blender, so let’s do it!First, we have a Pin button, that if clicked, will make the plugin window to remain over the UI at all timesThen, we have Select Path, here we can define the the output path for the texture file exports,in the software dropdown we select blenderand in renderer dropdown choose the blender version, in my case I’m still using v2.79now we can select the output resolution ,the file formatand the normal format.Both cycles and evee work with OpenGLso if you need to use DirectX for any specific reason,the necessary nodes will be added to keep the right normal format when renderingAfter that, you can either select if you want to use one texture per material map,or if you want to optimize them by packing the ambient occlusion, metal and roughness in one single mapFinally, you can independently choose the bit depth of the normal and height maps,as well as the bit depth of the rest of the mapsonce it is all configured, you have two options,send all the texture sets to Blender or only the currently active texture set.since i only have ONE material it makes no difference to send all or send currentBack in blender, a new material is created but not yet assigned,I wanted to assign it automatically, but since there are so many workflow possibilities,for flexibility’s sake I thought it would be better to create a new material,that needs to be assigned only the first time.so we assign the newly created material….and we should be able to see the results…Keep in mind that the first time you assign the materialyou need to make sure that the right UV Map is selected in the node networknow that the material is assigned, if we update the textures and send them again,we’ll be able to see the updated resultsthis time we don’t need to reassign anything since everything is properly connected.

Substance Painter Blender Preset

remember you can use the delete unused buttons to remove the unassigned materials,and to keep clean your scene.

Substance Painter Blender Controls

we’ll that’s all for now, if you have any doubts or requests me know in the comments or via our discord server