ShadedVolumeStyle applies Blinn-Phong illumination model to volume rendering.
The ShadedVolumeStyle node belongs to the VolumeRendering component and requires at least level 3, its default container field is renderStyle. It is available from X3D version 3.3 or higher.
1 2 3 4 + X3DNode + X3DVolumeRenderStyleNode + X3DComposableVolumeRenderStyleNode + ShadedVolumeStyle
Enables/disables node operation.
Whether rendering calculates and applies shading effects to visual output.
Whether rendering calculates and applies shadows to visual output (using global illumination model).
Define scattering model for implementations using global illumination (NONE or Henyey-Greenstein phase function).#10;
- Do not wrap extra quotation marks around these SFString enumeration values, since “quotation” “marks” are only used for MFString values.
Colour and opacity is determined based on whether a value has been specified for the material field.
The surfaceNormals field contains a 3D texture with at least three component values. Each voxel in the texture represents the surface normal direction for the corresponding voxel in the base data source.
- ShadedVolumeStyle can contain a single Texture3D node with
containerField='surfaceNormals'and a single Material node.
- Requires X3D
profile='Full'or else include
<component name='VolumeRendering' level='3'/>or level=’4’ to include shadows.