Shader Vc
- Last UpdatedJan 24, 2023
- 1 minute read
The Vc shader has the following characteristics.
|
Vc |
Vertex Colored |
Explanation
Applies the vertex color to the triangle.
Code example
This is an example of Vc shader.
$Shader
{
szName = Vc
}
$Shader
{
szName = Vc
fTransparency = 0.6
}
Input Data
Vertex Color
-
If there is a valid Radiosity solution on this object, the vertex color is taken from the solution.
-
If a Radiosity solution is not present or invalid, or if the bWireframe parameter is active, the vertex color is taken from the properties of the mesh. Therefore, the vertex color will be the color of the mesh.
Parameters
bObjectSpace
-
Explicitly indicates whether this mesh will be exported to Object Space or World Space, regardless of export parameters.
-
If this parameter is not present, the export parameters will be used, otherwise they will be overridden by this value.
-
Default: The export parameters are used.
-
Range: True / False.
fTransparency
-
Transparency level of the mesh.
-
Default: 0.0
-
Range: [0..1] (1 = completely transparent)
bDoubleFace
-
Duplicate the faces by flipping the verse.
-
Default: False.
-
Range: True / False.
bWireframe
-
Draw polygons in wireframes. Vertex color will be the object color in 3DSMax.
-
Default: False.
-
Range: True / False.