Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
passivestar authored Nov 15, 2023
1 parent 3532dd3 commit d8fb120
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,20 @@ In 3D view press N. You'll find new buttons in the menu on the right on the "Sub

# Usage

- Specify the path to Substance Painter executable in the addon preferences (if it wasn't automatically detected)
- Place objects you want to texture into their own separate collection and give them materials. Individual materials will become textures sets in Substance!
- Export your file to FBX with batching by collection enabled (Or enable the "Auto Export FBX" option in the addon settings)
- Put objects you want to texture into a collection and give them materials. Individual materials will become texture sets in Painter!
- Click on the collection you want to texture in the outliner
- Press the `Export [Collection Name] to Painter` button
- In Substance Painter, press `Ctrl+S` to save the `.spp` file
- If you use a custom output template, make sure the exported textures filenames start with the texture set name, like this: `$textureSet_diff(_$colorSpace)(.$udim)`
- When you're done, export textures in substance (`Ctrl+Shift+E`), and press `Load Painter Textures` in Blender. Make sure you have `Node Wrangler` addon enabled for it to work.
- In Painter press `Ctrl+S` to save the `.spp` file
- When you're done, export textures from Painter (`Ctrl+Shift+E`), and press `Load Painter Textures` in Blender ✨

Pro Tip:
In Blender you can link objects to a collection instead of moving if you hold `Ctrl` when you drag them in the outliner. This way you can create collections specifically for Substance export and group assets however you like!
Keep in mind that:
- If you use a custom output template, make sure the exported textures' filenames start with the texture set name, like this: `$textureSet_diff(_$colorSpace)(.$udim)`
- In Blender you can link objects to a collection instead of moving them if you hold `Ctrl` when you drag them in the outliner. This way you can create collections specifically for Substance Painter export and group assets however you like!

# Preferences

In the addon preferences you can configure:

- Substance Painter Path
- Substance Painter Path (in case it wasn't automatically detected)
- Texture output folder name. Default is `textures`
- Texture Set Name Regex - Regular expression used to determine the texture set name by the texture file name. Usually the texture set name goes first and is separated from other info by the first "_". Default value is `(.+?)_`
- Auto Export FBX - Automatically export collections when opening the active collection in Substance

0 comments on commit d8fb120

Please sign in to comment.