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

AVEVA™ XR Studio

Shader shBillboards

  • Last UpdatedApr 02, 2025
  • 1 minute read

The shBillboards element will render various Billboard Types.

  • Screen

  • YAxis

  • YAxisViewpoint

fBillboardOffset

  • Its use is the same as fViewpointOffset of the Shader Billboard.

Code example

This is a code example for fBillboardOffset.

$ShaderGen

{

szName = EngineLib|shBillboards|YAxisViewpoint

exportHint = vUV1, vNormal, vColor, mTextures

fBillboardOffset = 3

MaskClipValue = 0.25

}

Note: Export objects exported in ObjectSpace.

YAxisBillboardGroup

This parameter is used only for Billboard Group.

Code example

This is a code example for YAxisBillboardGroup.

$ShaderGen

{

szName = EngineLib|shBillboards|YAxisBillboardGroup

exportHint = vUV1, vNormal, vColor, mTextures

MaskClipValue = 0.25

}

Notes

  • Only vUV1, vNormal, vColor vertex components are supported. You cannot add any other vertex component because the billboard group is hard coded.

  • vUV1, vNormal, vColor can be removed. However, the exported file uses the same amount of memory.

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