Managing Transparency
- Last UpdatedApr 02, 2025
- 1 minute read
This topic is related to Shader Generator (Legacy 3DS MAX).
Managing transparency
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 the ShaderGenerator Export Parameters (Legacy 3DS MAX).
or
-
Use the bDoubleFace parameter. This duplicates all the polygons, making the exported number of polygons 2x.