Managing Transparency (FBX)
- Last UpdatedJan 24, 2023
- 1 minute read
You must explicitly specify the transparency states for the Nodes Shader system.
Standard procedure
Specify the following to make an object transparent:
-
Connect the Shader opacity input channel to some value.
For example, see the opacity channel in nkShader node.
-
Set the Mesh alpha operation by using the blendMode state.
For example, to make a simple transparency effect, write: state blendMode = alphaBlending in the mesh user buffer.
Quick procedure
You can quickly make a mesh transparent using the mesh fadeValue value. However, if the AVEVA™ XR engine launches a fade operation, it overwrites this value.
To quickly make a mesh transparent
-
Set the Opacity number inside the 3DSMax Material window.
For more information, see ShaderGenerator Export Parameters (Legacy 3DS MAX).
Fade Value
You can make a transparent mesh more transparent by mixing the two procedures. This effect is like launching a Fade operation on a standard transparent mesh.
Double Side
To make polygons visible from both sides
-
Set the cullMode state to None by writing state cullMode = none in the mesh user buffer.
To make polygons visible from both sides automatically
-
Use the 2-Sided box inside inside the ShaderGenerator Export Parameters (Legacy 3DS MAX).
or
-
Use the bDoubleFace parameter. This duplicates all the polygons, making the exported number of polygons 2x.