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 onCamera3d.maxDrawDistancedrawDistanceOverride(float) — Absolute draw distance for this level; 0 or less means "use drawDistanceScale"planeSliceCount(integer) — Horizontal slices used to draw aDrawablePlanein perspectivetriangleSkipSize(float) — Triangles smaller than this many pixels on both axes are skippedtriangleQuickDrawStep(integer) — Band thickness, in pixels, of the coarse fill a moving triangle may use (1 = neverfastDrawParallelogramTolerance(float) — How far from a true parallelogram a billboard's quad may be and still use thefastDrawPerpendicularityTolerance(float) — How far from perpendicular a billboard's quad edges may be and still use thebillboardReuseError(float) — How far a billboard's (rectangle, image, polygon, ...) reused rendering may be offbillboardReuseMaxAngleDegrees(float) — How far, in degrees, the direction a billboard is seen from may turn before itsmodelImpostorError(float) — How far a reused model rendering (DrawableModel.useImpostor) may be off, as amodelImpostorMaxDepthRatio(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 thanmodelImpostorMaxSizeChange(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 reusedmodelImpostorStripMaxAngleDegrees(float) — How far, in degrees, the direction a model is seen from may turn and still redraw itsmodelImpostorStripErrorScale(float) — How much further off thanmodelImpostorErrorstrips may be before a redrawmodelImpostorStripMaxErrorPixels(float) — The most, in pixels, strips may put any visible vertex from where it really is, howevermodelImpostorMaxLightChange(float) — How much any light reaching a model may brighten or dim (a 0-1 fraction of fullplaneLightPoolMaxDriftPixels(float) — How far, in pixels of a plane's top-down bitmap, a point light's pool on a shadedplaneLightPoolMaxLightChange(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 horizonwallLodDistanceFraction(float) — Walls (BGE.DrawableWalls) further than this fraction of the draw distance draw one stripquadColumnsPerTexel(float) — Most texture columns a quad drawn as columns (BGE.QuadColumnDrawer) gets, per texelquadMinPixelsPerColumn(float) — Fewest screen pixels each such column covers: a quad gets no more columns thanquadMaxAffineErrorPixels(float) — How far, in pixels, a column's texture may sit from where perspective puts it: a quadfogSilhouetteBand(float) — Most pixels each stair of a fog silhouette's outline steps, down or across (seevoxelColumns(integer) — Screen columns aDrawableVoxelTerrainmarches (its cost is about columns x depth steps)voxelBandSteps(integer) — Depth steps aDrawableVoxelTerraintakes before its step doublesanimationLodDistanceScale(float) — Scales every oriented sprite'slodDistance(BGE.DrawableOrientedSprite), how far out its