Post

VolumeScatterMaterialExtension

VolumeScatterMaterialExtension

Overview

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

The VolumeScatterMaterialExtension node belongs to the X_ITE component and requires at least support 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
    + VolumeScatterMaterialExtension

Fields

TypeAccess TypeNameDefault Value
SFNode[in, out]metadataNULL
SFColor[in, out]multiscatterColor0 0 0
SFString[in, out]multiscatterColorTextureMapping””
SFNode[in, out]multiscatterColorTextureNULL
SFFloat[in, out]scatterAnisotropy0

SFNode [in, out] metadata NULL [X3DMetadataObject]

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

Hint

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

The multi-scatter albedo.

SFString [in, out] multiscatterColorTextureMapping “”

Input/Output field multiscatterColorTextureMapping.

SFNode [in, out] multiscatterColorTexture NULL [X3DSingleTextureNode]

A surface texture that defines the multi-scatter albedo at the volume’s entry point. Stored in the RGB channels and encoded in sRGB. This will be multiplied by the multiscatterColorFactor.

SFFloat [in, out] scatterAnisotropy 0 [-1,1]

The anisotropy of scatter events. Range is [-1, 1].

Example

Browser Compatibility

Castle Game EngineFreeWRLX_ITE X3D BrowserX3D-EditX3DOM

See Also

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