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

AVEVA™ XR Studio

Shader SkyTxt (Legacy)

  • Last UpdatedApr 02, 2025
  • 1 minute read

The SkyTxt shader has the following characteristics.

  • Textured

  • Sky

Explanation

This shader applies the texture to the triangle.

Notes

  • A Sky object is required to use this shader.

  • This type of Sky has a specific render path for the DOF HDR B technique. By default, the Sky is modified only by the HDR and not by Fog and DOF.

  • To change from Fog and DOF, activate the use of the alpha channel. This results in a softer transition between the sky and the surrounding geometry.

Code example

This is a code example for SkyTxt shader.

$Shader

{

szName = SkyTxt

}

Input Data

Texture

  • Material ® DiffuseMap

  • UV Channel 1

  • Alpha Channel if the bEnableAlpha parameter is true, it will indicate how much the DOF and Fog affect the pixel. 1 total influence, 0 none

  • (Alpha = fAlphaBias + fAlphaMul * Texture)

Parameters

bEnableAlpha

  • Enable DOF and Fog multiplier.

  • Default: False

  • Range: True / False.

fAlphaBias

  • Alpha bias value.

  • Default: 0

  • Valid only if bEnableAlpha is True.

  • Range: [-inf,+inf]

fAlphaMul

  • Alpha mul value.

  • Default: 1

  • Valid only if bEnableAlpha is True.

  • Range: [-inf,+inf]

szAnimatedTexture

  • Indicates that the texture will be animated using the specified Animated Texture ID.

  • Default: Null.

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