Shader Vc_Txt_Ci
- Last UpdatedApr 02, 2025
- 1 minute read
The Vc_Txt_Ci shader has the following characteristics.
|
Vc |
Vertex Colored |
|
Txt |
Textured |
|
Ci |
Color Interpolated |
Explanation
-
Makes an interpolation between the Texture and the c3Color color parameter.
-
During interpolation, if the value of fInterpolator is close to 0, the Texture is used. If the value is close to 1, the c3Color color parameter is used.
-
Multiplies the result for VertexColor.
Code example
This is an example of Vc_Txt_Ci shader.
$Shader
{
szName = Vc_Txt_Ci
fInterpolator = 0.4
c3Color = 0.5 0.6 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.
Texture
-
Material ® DiffuseMap
-
UV Channel 1
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.
szAnimatedTexture
-
Indicates that the texture will be animated using the specified Animated Texture ID.
-
Default: Null.
fInterpolator
-
Interpolation value.
-
Default: 0.5
-
Range: [0..1]
c3Color
-
Color that will be multiplied.
-
Default: 1 1 1
-
RGB: [0..1]