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

AVEVA™ XR Studio

Shader MovieScreen (Legacy)

  • Last UpdatedApr 02, 2025
  • 2 minute read

The MovieScreen shader has the following characteristics.

  • Movie Support

  • Vertex Colored

  • Textured

Explanation

If the movie is active, multiplies the movie for the vertex color, otherwise multiplies the texture for the vertex color.

Code example

This is an example of MovieScreen shader.

$Shader

{

szName = MovieScreen

szMovie = tv.ogg

}

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

  • Used when the movie is turned off.

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.

szMovie

  • Filename of the movie to be played.

  • Using the name _CamCapture0 the engine will activate the video capture system on the first device it finds (index = 0).

  • The movie formats supported by the engine can be found here.

  • To access a movie outside the usual gamedata/pak directories, use an # before the name. For example, #mymovie.ogg.

bStart

  • Starts the movie automatically.

  • Default: False.

  • Range: True/False.

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