| WaterWavesNormalMap Property |
Gets (or sets) the normal map (using standard encoding, see remarks).
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Texture2D NormalMap { get; protected set; }
Public Property NormalMap As Texture2D
Get
Protected Set
public:
property Texture2D^ NormalMap {
Texture2D^ get ();
protected: void set (Texture2D^ value);
}
member NormalMap : Texture2D with get, set
Property Value
Type:
Texture2DThe normal map (using standard encoding, see remarks).
Remarks
The normal map value will be decoded in the shader using
normal = tex2D(NormalSampler, texCoord) * 2 - 1
See Also