Click or drag to resize
DigitalRuneRenderContextLodBias Property
Gets or sets the global LOD bias.

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

Property Value

Type: Single
The global LOD bias in the range [0, ∞[. The default value is 1.
Remarks

The LOD bias is a factor that is multiplied to the distance of a scene node. It can be used to increase or decrease the level of detail based on scene, performance, platform, or other criteria.

Performance Tips:

  • Increase the LOD bias during computationally intensive scenes (e.g. large number of objects or characters on screen).
  • Increase the LOD bias of fast moving cameras.
  • Increase/decrease LOD bias based on the games quality settings (e.g. minimal details vs. maximal details).
  • Increase/decrease LOD bias based on platform (e.g. PC vs. mobile platforms).
  • Increase/decrease LOD bias based on screen resolution. (Note: The LOD metric "view-normalized distance" does not account for resolution changes.)

A LodBias of 0 forces all objects to be rendered with the highest level of detail. A large LodBias, such as PositiveInfinity, forces all objects to be drawn with the lowest level of detail.

See Also