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
| Type | Access Type | Name | Default Value |
|---|---|---|---|
| SFNode | [in, out] | metadata | NULL |
| SFColor | [in, out] | multiscatterColor | 0 0 0 |
| SFString | [in, out] | multiscatterColorTextureMapping | ”” |
| SFNode | [in, out] | multiscatterColorTexture | NULL |
| SFFloat | [in, out] | scatterAnisotropy | 0 |
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 Engine | FreeWRL | X_ITE X3D Browser | X3D-Edit | X3DOM |
|---|---|---|---|---|