Performances and optimizations


Minimum Hardware Requirements

There are no minimum requirements for using Substance Bakers, however it is important to note the following : 

  • A good CPU will offer reduced computation times (multiple cores will speed up the computation of from mesh bakers that use raytracing).
  • A decent amount of memory (RAM) will allow to load meshes with a lot of details (polygons).
  • A good GPU will allow to write textures at big resolutions (like 8K).

Triangulation

The bakers work internally with triangulated meshes; if the 3D models (low and high poly) are not triangulated, the bakers will triangulate the meshes themselves. This process can take a long time and will increase linearly in relation to the amount of polygons contained in the model. It is generally advised to triangulate the meshes (especially the high poly mesh) in order to avoid this process occurring during baking.

If your workflow is based on FBX, you can triangulate the mesh at export time using an option in the DCC application.

Geometry Cache

See the following page for more information : Geometry Cache

Anti-Aliasing

The bakers can use super sampling to perform anti-aliasing. Supersampling means the bakers will cast more rays per pixel in order to smooth the result. The baking time can be dramatically affected by this setting; this is particularly true for bakers where lots of rays are required, such as the ambient occlusion from mesh baker.

As an example:

  • an AA setting of 2x2 means the baker will cast 4 times the initial amount of rays. For a 2048*2048 px texture, the resulting computation is equivalent to baking a 4096*4096px texture and should take around 4 times more time to compute.
  • an AA setting of 8x8 means the baker will cast 64 times the initial amount of rays. For a 2048*2048 px texture, the resulting computation time is equivalent to baking a 16384*16384px texture and should take around 64 times more time to compute.

Taking these numbers into consideration : the 8x8 setting should be used with care.

In order to reduce the noise presence, it is generally advised to increase the number of secondary rays (for the ambient occlusion, thickness and bent normals bakers) and keep a 2x2 or 4x4 AA setting rather than using a low amount of secondary rays and a high AA setting.

A good performance/quality setting for ambient occlusion from mesh is to use AA 2x2 and at least 128 secondary rays.