enum ETangentSpaceMethod
TangentSpaceMethod is used to specify which tangent space method is used to generate tangent spaces when processing. Use OrthonormalLeftHanded to generate tangents that are D3D compatible (left-handed coordinate system).
Values
| Key | Value | Comment |
|---|---|---|
| OrthonormalRightHanded | 0 | Standard method, creates an orthonormal tangent space (right-handed) |
| Autodesk3dsMax | 1 | 3dsMax compatible method, creates tangent space that is compatible with the 3dsMax renderer |
| OrthonormalLeftHanded | 2 | Creates an orthonormal tangent space (left-handed, D3D compatible) |
| MikkTSpace | 3 | Creates a tangent space using the MikkTSpace tangent space generation algorithm. |
| ImplicitOrthonormalRightHandedCompatible | 4 | Creates a tangent space which is compatible with tangents that are implicitly calculated in the Fragment Shader. Used for example in Unreal Engine when using Nanite. |
| Key | Value | Comment |
|---|---|---|
| OrthonormalRightHanded | 0 | Standard method, creates an orthonormal tangent space (right-handed) |
| Autodesk3dsMax | 1 | 3dsMax compatible method, creates tangent space that is compatible with the 3dsMax renderer |
| OrthonormalLeftHanded | 2 | Creates an orthonormal tangent space (left-handed, D3D compatible) |
| MikkTSpace | 3 | Creates a tangent space using the MikkTSpace tangent space generation algorithm. |
| ImplicitOrthonormalRightHandedCompatible | 4 | Creates a tangent space which is compatible with tangents that are implicitly calculated in the Fragment Shader. Used for example in Unreal Engine when using Nanite. |
| Key | Value | Comment |
|---|---|---|
| ETangentSpaceMethod_OrthonormalRightHanded | 0 | Standard method, creates an orthonormal tangent space (right-handed) |
| ETangentSpaceMethod_Autodesk3dsMax | 1 | 3dsMax compatible method, creates tangent space that is compatible with the 3dsMax renderer |
| ETangentSpaceMethod_OrthonormalLeftHanded | 2 | Creates an orthonormal tangent space (left-handed, D3D compatible) |
| ETangentSpaceMethod_MikkTSpace | 3 | Creates a tangent space using the MikkTSpace tangent space generation algorithm. |
| ETangentSpaceMethod_ImplicitOrthonormalRightHandedCompatible | 4 | Creates a tangent space which is compatible with tangents that are implicitly calculated in the Fragment Shader. Used for example in Unreal Engine when using Nanite. |
Simplygon 10.4.169.0