Post

SpecularMaterialExtension

Overview

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

The SpecularMaterialExtension 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
    + SpecularMaterialExtension

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] specular 1 [0,∞)

The strength of the specular reflection.

SFString [in, out] specularTextureMapping “”

Input/Output field specularTextureMapping.

SFNode [in, out] specularTexture NULL [X3DSingleTextureNode]

texture that defines the strength of the specular reflection, stored in the alpha (A) channel. This will be multiplied by specularFactor.

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

The F0 color of the specular reflection (linear RGB).

SFString [in, out] specularColorTextureMapping “”

Input/Output field specularColorTextureMapping.

SFNode [in, out] specularColorTexture NULL [X3DSingleTextureNode]

A texture that defines the F0 color of the specular reflection, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by specularColorFactor.

Example

See Also

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