Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Shader Txt_Sp (Legacy)

  • Last UpdatedApr 02, 2025
  • 1 minute read

The Shader Txt_Sp shader has the following characteristics.

Txt

Textured

Sp

Specular

Explanation

  • Applies the specular to the texture.

  • Supports only one light, which is managed as omnidirectional without range.

Code example

This is an example of Txt_Sp shader.

$Shader

{

szName = Txt_Sp

szLight = Omni001

}

Input Data

Texture

  • Material ® DiffuseMap

  • UV Channel 1

Specular Color

  • Material ® SpecularColor

Specular Intensity

  • Material ® SpecularHilights ® SpecularLevel

  • Increases the intensity and the size of the highlight.

Specular Glossiness

  • Material ® SpecularHilights ® Glossiness

  • Increasing this value increases the "shininess" of the object, so there will be a narrower highlight.

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.

szLight

  • Name of the light that will illuminate the object. If not specified, the result will be unpredictable.

In This Topic
TitleResults for “How to create a CRG?”Also Available in