SphericalHarmonicMaterial Structure

Language:

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

Method Description
SphericalHarmonicMaterial Initializes a new instance of the SphericalHarmonicMaterial structure.
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:

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center