User Guide Cancel

Should I enable "Compute tangent space per fragment" ? | Substance 3D bakers

  1. Substance 3D home
  2. Home
  3. Getting Started
    1. What is Baking?
    2. Software interface
      1. Substance 3D Painter
      2. Substance 3D Designer
      3. Substance 3D Automation Toolkit
    3. Availability per software
    4. Compatible 3D software
    5. Tutorials
  4. Bakers settings
    1. Common Parameters
    2. Ambient Occlusion
    3. Ambient Occlusion from Mesh
    4. Bent Normals from Mesh
    5. Color Map from Mesh
    6. Convert UV to SVG
    7. Curvature
    8. Curvature from Mesh
    9. Curvature from Mesh (deprecated)
    10. Height Map from Mesh
    11. Normal Map from Mesh
    12. Opacity Mask from Mesh
    13. Position
    14. Position map from Mesh
    15. Thickness Map from Mesh
    16. Transferred Texture from Mesh
    17. World Space Direction
    18. World Space Normals
  5. Guides
    1. Error and Warning Messages
    2. Performances and optimizations
    3. Triangulating before baking
  6. Features
    1. Geometry Cache
    2. GPU Raytracing
    3. Matching by Name
    4. Tangent Space
  7. Common questions
    1. How to export the baked maps?
    2. Is dithering applied to baked textures?
    3. Should I enable "Compute tangent space per fragment"?
    4. What are Assbin files?
    5. What is the bit depth of baked textures?
    6. What is the difference between the OpenGL and DirectX normal format?
    7. Why are there strange stretches in my textures after baking or exporting?
    8. Why is Matching by Name not working with Ambient Occlusion/Thickness?
    9. Why is my mesh fully black after baking?
  8. Common issues
    1. Aliasing on UV Seams
    2. Baker output is fully black or empty
    3. Baking failed with Color Map from Mesh
    4. Black shading cross are visible on the mesh surface
    5. Mesh parts bleed between each other
    6. Normal map has strange colorful gradients
    7. Normal texture looks faceted
    8. Seams are visible after baking a normal texture
    9. Seam visible on every face
    10. Texture baked outside of Substance software looks incorrect

Should I enable "Compute tangent space per fragment" ?

Alert:

Question

What does the setting "Compute tangent space per fragment" means and what is it's usage ?


Note:

Explanation

When enabled this setting tells the baker to perform the Tangent Space computation in the Fragment Shader (also called Pixel Shader) instead of the Vertex Shader. Meaning that the computation will be done per pixel instead of being interpolated from vertex to vertex. This settings is used by the normal map baker to know how to encode the texture. It also used to know how to read the texture by the shaders.

Enabling or disabled this parameter usually requires to rebake the textures to sync them with the 3D viewports and rendering engines (such as Iray).

Note:

Solution

Depending of the software or game engine targeted to render the texture, this setting may be disabled or enabled:

SoftwareCompute tangent space per fragment
Unreal Engine 4Enabled
UnityDisabled

Get help faster and easier

New user?