- Substance 3D home
- Home
- Command Line Tools
- Command Line overview
- sbsbaker
- sbscooker
- sbsmtools
- sbsmutator
- sbsrender
- sbsupdater
- Command Line overview
- Pysbs - Python API
- Pysbs - Python API overview
- Getting started
- General topics
- Examples
- API Content
- API Content overview
- Substance definitions
- Common interfaces
- compnode
- context projectmgr
- graph
- mdl
- modelgraphindex
- modelannotationnames
- modelgraph
- modelgraphgenerator
- modelgraphimplementation
- modelnodenames
- modeloperand
- modulegraphindex
- moduleannotation
- moduleconnection
- modulegraph
- modulegraphgenerator
- modulegraphimplementation
- modulegraphlibrary
- modulegraphregister
- modulenode
- modulenodeimplementation
- modulenodeinstance
- moduleoperand
- moduleoutputbridging
- moduleparaminput
- params
- projectmgrdoc
- sbsarchive
- sbscommon
- sbspreset
- sbsproject
- substance
- Libraries
- sbsenum
- sbslibrary
- sbsbakerslibrary
- Helpers
- Execution context
- API Change log
- Samples
- Setup and Getting Started
- Integrations
- Substance Maya toolset
- Changelog overview
Frequently asked Questions
Q: My maps comes out in the wrong resolution when rendering them using sbsrender
This typically happens if the substance network is not configured to have its output size set to relative to parent.
In order to check if this is the case.
- Open the SBS file in Substance Designer
- Double click in an empty space of the graph editor to select the root node
- Make sure Output Size is set to relative to parent and width and height is set to 0 (Parent x 1)
Another caveat is that when a network is set to be relative to parent it will render at 256x256 unless you specify $outputsize on the sbsrender command line. What is set as parent size in substance designer does not matter at that point.
Different engines have different maximum resolutions. The default engine can only render at 2048x2048 so you need to switch to a gpu engine if you want to go higher than that.
Some shells (powershell and bash among others) associates the $ character with special properties and it needs to be escaped.
Powershell
Escape using '
Bash (linux and mac)
Escape using \
Note that if you are using the python subprocess module (like our examples) to call sbsrender this is handled for you automatically.
Q: How fix "Parsing error [...]" during mesh baking on Linux (mostly debian based distrib)?
Depending on the Linux version it's possible to have a flow of error during the use of sbsbaker, i.e:
Parsing error:
Invalid normal
line 898254 => vn 0.1030 0.9821 0.1574
To fix this issue an environment variable can be set:
LC_NUMERIC=C