Post

DiffuseTransmissionMaterialExtension

Overview

DiffuseTransmissionMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.

The DiffuseTransmissionMaterialExtension node belongs to the X_ITE component and requires at least level 1, its default container field is extensions. It is available from X3D version 4.0 or higher.

Info: Please note that this node is still experimental, i.e. the functionality of this node may change in future versions of X_ITE.

Hierarchy

1
2
3
+ X3DNode
  + X3DMaterialExtensionNode
    + DiffuseTransmissionMaterialExtension

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFFloat [in, out] diffuseTransmission 0 [0,∞)

The percentage of reflected, non-specularly reflected light that is transmitted through the surface via the Lambertian diffuse transmission, i.e., the strength of the diffuse transmission effect.

SFString [in, out] diffuseTransmissionTextureMapping “”

Input/Output field diffuseTransmissionTextureMapping.

SFNode [in, out] diffuseTransmissionTexture NULL [X3DSingleTextureNode]

A texture that defines the strength of the diffuse transmission effect, stored in the alpha (A) channel. Will be multiplied by the diffuseTransmissionFactor.

SFColor [in, out] diffuseTransmissionColor 1 1 1 [0,1]

The color of the transmitted light.

SFString [in, out] diffuseTransmissionColorTextureMapping “”

Input/Output field diffuseTransmissionColorTextureMapping.

SFNode [in, out] diffuseTransmissionColorTexture NULL [X3DSingleTextureNode]

A texture that defines the color of the transmitted light, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by diffuseTransmissionColorFactor.

Example

See Also

This post is licensed under CC BY 4.0 by the author.