EnvironmentMapEffect.FresnelFactor Property

Gets or sets the Fresnel factor used for the environment map blending.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public float FresnelFactor { get; set; }

Property Value

The Fresnel factor.

Remarks

The default value is 1. Use 0 to disable Fresnel lighting; this makes the environment map visible independent of the viewing angle. Use a higher value to make the environment map visible around silhouette edges; use a lower value to make the environment map visible everywhere. Fresnel lighting only affects the environment map color (RGB values), alpha is not affected. Control the intensity of the color values using EnvironmentMapAmount; control the intensity of the alpha value with EnvironmentMapSpecular.

See Also

Reference

EnvironmentMapEffect Class
EnvironmentMapEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP