Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EnvironmentMapEffect.EnvironmentMapAmount Property

Gets or sets the amount of the environment map color (RGB) that will be blended over the base texture. The value ranges from 0 to 1; the default value is 1.

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

public float EnvironmentMapAmount { get; set; }

Property Value

The RGB blend factor.

If set to zero, the RGB channels of the environment map will be completely ignored (the environment map alpha may still be visible if EnvironmentMapSpecular is greater than zero).

Xbox 360, Windows 7, Windows Vista, Windows XP
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.