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.
- Substance Painter Blender Preset
- Substance Painter Blender Live Link
- Substance Painter Blender Controls
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:
- Click File > Import and then select the correct file format for your model.
- Select your model file, and then click Import.
- While holding
SHIFT
, right click each object in your scene, and then pressCtrl
+J
to join them into one mesh. - Unwrap the model into 0-1 UV space. Make sure that no UVs overlap:
- In the Properties editor, click the materials icon.
- Click the
+
button to add a new material slot: - Click New.
Export the mesh from Blender
- Click File > Export > FBX (.fbx).
- Enter the path to where you want to export the file.
- Make sure that you use the following export settings:
- Click Export FBX.
Import and prepare the FBX file in Substance Painter
- Create a new Substance Painter project by clicking File > New.
- In the New project dialog, click Select to choose a mesh.
- Select the FBX file that you exported from Blender, and then click Open.
- In the New project window, click OK.
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.
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.
In the Texture set settings panel, click Bake Mesh Maps.
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:
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.
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
- Click File > Export Textures.
- From the Config drop-down menu, select glTF PBR Metal Roughness.
- Choose the location where you want to save your textures.
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.
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.
- Visit https://glb-packer.glitch.me/.
- 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.