Click or drag to resize
DigitalRuneProjectedGridParametersEdgeAttenuation Property
Gets or sets the edge attenuation.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float EdgeAttenuation { get; set; }

Property Value

Type: Single
The edge attenuation in [0, 1] relative to the whole projected grid.
Remarks

If the projected grid is displaced in world space, the displacement fades out near the borders of the projected grid. This helps to hide any artifacts which could occur near the grid borders (e.g. the grid border being displaced into the visible field of view).

An EdgeAttenuation of 0.01 means that the displacement fades out in the outer 1 % of the grid.

See Also