EnvironmentMapMaterialContent.EnvironmentMapSpecular Property

Note

This property is available only when developing for Windows.

Gets or sets the amount of the environment map alpha value that will be added to the base texture. The value ranges from 0 to 1; the default value is 0.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public Nullable<Vector3> EnvironmentMapSpecular { get; set; }

Property Value

The environment map alpha value.

Remarks

Use this value to implement cheap specular lighting, by encoding one or more specular highlight patterns into the environment map alpha channel, then setting the EnvironmentMapSpecular to the desired specular light color.

See Also

Reference

EnvironmentMapMaterialContent Class
EnvironmentMapMaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP