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

AVEVA™ XR Studio

Self Diffuse

  • Last UpdatedAug 22, 2023
  • 2 minute read

An object can emit light by itself. You can enable this behavior by attaching something to the selfDiffuse input node.

SelfDiffuse mode

This produces the following equation [2]:

result = selfDiffuse

Note: For this shader, the shadows are applied only if realisticShadows is Off.

SelfDiffuse plus real-time lights

You can also add real-time lights to the self diffuse object by connecting the diffuse and/or specularColor input nodes.

The equation [1] becomes equation [1.b]:

result = selfDiffuse + (probesAmbient*diffuse) + (lights*diffuse) + (lights.specular*specularColor) + (sun*diffuse*sunShadows)

Examples

Equation [1] becomes Equation [1.b].

Equation [2]

In the last image, the self diffuse is so much that there is no need to calculate the other lights. Their influence would be insignificant.

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