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

AVEVA™ XR Studio

Shader Em (Legacy)

  • Last UpdatedApr 02, 2025
  • 1 minute read

The Em shader has the following characteristics.

Em

Environment Mapped

Explanation

Apply the env map to the triangle.

Code example

This is a code example for Em shader.

$Shader

{

szName = Em

szCubeMap = Cube.dds

}

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.

szRealTimeCubeMap / szCubeMap

  • szRealTimeCubeMap: ID of the CubeMap that will be created in real time using a $CubeMap Dummy Object.

  • szCubeMap: The name of the texture that will be loaded and used as CubeMap.

  • szRealTimeCubeMap and szCubeMap can not exist at the same time.

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