Click or drag to resize
DigitalRuneTerrainMaterialLayerTriplanarTightening Property
Gets or sets the tightening factor for triplanar texture mapping. (Use -1 to disable triplanar texture mapping. This is a material parameter - see remarks.)

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

Property Value

Type: Single
The tightening factor for triplanar mapping. To use triplanar texture mapping this factor should be in the range [0, sqrt(3)]. (sqrt(3) is about 0.577.) If this value is -1, triplanar mapping is disabled. The default value is -1.
Remarks

This is material parameter. Changing this property affects all terrain layers that share the same material.

See TerrainMaterialLayer for more details.

See Also