Export (0) Print
Expand All

EnvironmentMapEffect.EnvironmentMapSpecular Property

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.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public Vector3 EnvironmentMapSpecular { get; set; }

Property Value

The environment map alpha value.

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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2014 Microsoft