SphericalHarmonicMaterial Structure (Microsoft.DirectX.Direct3D)

Contains spherical harmonic (SH) precomputed radiance transfer (PRT) material characteristics.

Definition

Visual Basic Public Structure SphericalHarmonicMaterial
C# public struct SphericalHarmonicMaterial 
C++ public value class SphericalHarmonicMaterial sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
SphericalHarmonicMaterial Initializes a new instance of the SphericalHarmonicMaterial structure.

Properties

Property Description
Absorption Retrieves or sets the absorption coefficient used to model light propagation in a participating medium.
AbsorptionColor Retrieves or sets the absorption coefficient used to model light propagation in a participating medium.
Diffuse Retrieves or sets the diffuse albedo of the surface.
DiffuseColor Retrieves or sets the diffuse albedo of the surface.
IsMirror Determines whether the material is a mirror.
IsSubsurfaceScattering Enables or disables subsurface scattering.
ReducedScattering Retrieves or sets the reduced scattering coefficient used to model light propagation in a participating medium.
ReducedScatteringColor Retrieves or sets the reduced scattering coefficient used to model light propagation in a participating medium.
RelativeIndexOfRefraction Retrieves or sets the relative index of refraction as the ratio between two absolute indices of refraction.

Remarks

Non-spectral scenes use the red channel from the materials instead of the luminance value.

For more information about PRT see:

  • Jensen et al., Siggraph Proceedings: A Practical Model for Subsurface Light Transport, 2001.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also