RenderQualitySettings

Extends: roAssociativeArray

Every draw-quality value a BGE.Renderer uses. Each BGE.RenderQualityLevel has a preset (see BGE.getRenderQualityPreset()); override individual fields per level with game.renderQuality.overridePreset().

Adding a new quality setting: add the field here, give it a value at every level in RenderQualityPresets.bs, and read it via renderer.qualitySettings.

Properties

  • drawDistanceScale (float) — Multiplier on Camera3d.maxDrawDistance
  • drawDistanceOverride (float) — Absolute draw distance for this level; 0 or less means "use drawDistanceScale"
  • planeSliceCount (integer) — Horizontal slices used to draw a DrawablePlane in perspective
  • triangleSkipSize (float) — Triangles smaller than this many pixels on both axes are skipped
  • triangleQuickDrawStep (integer) — Band thickness, in pixels, of the coarse fill a moving triangle may use (1 = never
  • fastDrawParallelogramTolerance (float) — How far from a true parallelogram a billboard's quad may be and still use the
  • fastDrawPerpendicularityTolerance (float) — How far from perpendicular a billboard's quad edges may be and still use the
  • billboardReuseError (float) — How far a billboard's (rectangle, image, polygon, ...) reused rendering may be off
  • billboardReuseMaxAngleDegrees (float) — How far, in degrees, the direction a billboard is seen from may turn before its
  • modelImpostorError (float) — How far a reused model rendering (DrawableModel.useImpostor) may be off, as a
  • modelImpostorMaxDepthRatio (float) — How far a model may reach in depth, as a multiple of how far its nearest point is,
  • modelImpostorBlitMaxDepthRatio (float) — The same, for the single scaled blit of a reused model rendering: a model deeper than
  • modelImpostorMaxSizeChange (float) — How much a reused model rendering may grow or shrink on screen (a ratio, either way)
  • modelImpostorMaxAngleDegrees (float) — How far, in degrees, the direction a model is seen from may turn before its reused
  • modelImpostorStripMaxAngleDegrees (float) — How far, in degrees, the direction a model is seen from may turn and still redraw its
  • modelImpostorStripErrorScale (float) — How much further off than modelImpostorError strips may be before a redraw
  • modelImpostorStripMaxErrorPixels (float) — The most, in pixels, strips may put any visible vertex from where it really is, however
  • modelImpostorMaxLightChange (float) — How much any light reaching a model may brighten or dim (a 0-1 fraction of full
  • planeLightPoolMaxDriftPixels (float) — How far, in pixels of a plane's top-down bitmap, a point light's pool on a shaded
  • planeLightPoolMaxLightChange (float) — How much a pool's color may change (a 0-1 fraction of full brightness, per channel)
  • wallStripWidth (integer) — Screen pixels between wall strips (BGE.DrawableWalls) at the horizon
  • wallLodDistanceFraction (float) — Walls (BGE.DrawableWalls) further than this fraction of the draw distance draw one strip
  • quadColumnsPerTexel (float) — Most texture columns a quad drawn as columns (BGE.QuadColumnDrawer) gets, per texel
  • quadMinPixelsPerColumn (float) — Fewest screen pixels each such column covers: a quad gets no more columns than
  • quadMaxAffineErrorPixels (float) — How far, in pixels, a column's texture may sit from where perspective puts it: a quad
  • fogSilhouetteBand (float) — Most pixels each stair of a fog silhouette's outline steps, down or across (see
  • voxelColumns (integer) — Screen columns a DrawableVoxelTerrain marches (its cost is about columns x depth steps)
  • voxelBandSteps (integer) — Depth steps a DrawableVoxelTerrain takes before its step doubles
  • animationLodDistanceScale (float) — Scales every oriented sprite's lodDistance (BGE.DrawableOrientedSprite), how far out its