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

AVEVA™ XR Studio

Parameters

  • Last UpdatedAug 22, 2023
  • 1 minute read

This is a list of parameters for nkShader node.

lightsAttenuation

  • Lights attenuation formula

  • Default: None

  • Values: Linear, None

lightsOperation

  • When selfDiffuse is connected at the same time with diffuse/specular, this parameter determines how to mix the selfDiffuse with the RTLights result.

  • Default: Add

  • Values: Add, Mul

Note: Not all pipelines support this feature.

reflectionsDetail

The shader generates faster code when the detail level is lower.

When detail is set to low, the realtime lighting is disabled.

  • Default: Low

  • Values: Low, High

linearSpace

The shader output color is considered to be in linear space.

This parameter is used by the rendering pipelines that support linear space calculations.

  • Default: False

  • Values: True, False

skinned

The shader supports bones skinning.

  • Default: False

  • Values:True, False

billboardType

The shader produces a billboard.

  • Default: None

  • Values: None, Screen, YAxis, YAxisViewpoint, YAxisBillboardGroup

  • Special cases:

    • YAxisViewpoint may require a material parameter named fBillboardOffset, Otherwise, it is considered equal to zero.

    • YAxisBillboardGroup must be used only for rendering BillboardGroup objects. Do not use any other billboardType.

infiniteZ

The shader calculates the vertex z position as if it was at the edge of the Z buffer. This way the object is always rendered also if its z position is out of the camera's far value.

Note: Just using this flag may not be enough. You must also change the render states based on the current rendering pipeline.

To test this, use the "depthCompareMode = lessEqual" state inside the mesh material definition.

  • Default: False

  • Values: True, False

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