QualitySettings
What one quality level draws. Each value is flat, so a game overrides one without restating the rest.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
bloom |
boolean |
Whether bloom draws, the look’s and any <Bloom> a scene mounts. |
cachedShadowMapSize |
number |
The side in texels, up to 4096, of the sun’s cached shadow: a cached shadow of the static set within 1.5 times shadowDistance round the camera, which the live cascades then leave to it, so they draw only what moves; 0 draws none, and the cascades draw everything. |
curtainFar |
number |
Metres from the camera past which a light mask’s curtain draws none, over the curtain’s own far. |
curtainShare |
number |
The share of a light mask’s curtain’s tall wisps that rise, 0 to 1: 0 keeps the low base along the line, which every level draws. |
depthOfField |
DepthOfFieldQuality |
How much of the look’s depth of field draws, until the player sets Depth of field. The look’s stack mounts while it draws one. |
farShadowDistance |
number |
Metres round the camera the far shadow map covers, along x and along z. |
farShadowMapSize |
number |
The side in texels, up to 4096, of the sun’s far shadow map: a cached shadow of the static set past the cascades, and the sun’s only shadow where shadowMapSize and cachedShadowMapSize are 0; 0 draws none. |
grading |
boolean |
Whether the look’s stack draws its colour grade, the tint, hue and saturation, brightness and contrast, and its vignette. They are one value because they draw in one pass with tone mapping, so apart they would cost nothing to drop. Tone mapping draws whatever this says: in the stack while one mounts, by the renderer’s own ACES where none does. |
grassBunchFar |
number |
Metres from the camera to the last bunch of blades from one crown, which the grass grows near the camera in place of single blades; from 70% of it they give way to single blades. 0 for none, and at most grassFar. |
grassDenseFar |
number |
Metres from the camera to where a cover past a density of 2 has thinned back to 2, from half of it: inside it a cover draws as thick as it asks, up to 16. 0 draws every cover at most 2, which no game is refused for. |
grassFar |
number |
Metres from the camera where the last blade goes. |
grassNear |
number |
Metres from the camera where the blades start to thin. |
grassShadowFar |
number |
Metres from the camera within which the grass blades cast the sun’s shadow, into its near cascade only, fading over the last 2 m: the small shadow pools between tufts. 0 casts none. A cover’s castShadow turns its own blades off. It reaches no farther than grassFar, so a game that shortens the field needs no change here. |
grassShare |
number |
The share of the grass blades that grows, 0 to 1. |
grassSway |
boolean |
Whether the blades bend in the wind, until the player sets Grass sway. |
groundBakeResolution |
GroundBakeResolution |
Texels a side of each level of the ground’s bake: the ground’s paint, run once a texel into textures round the camera and drawn from them, in place of painting each pixel each frame. 0 paints the ground live every frame. A multiple of 256 up to 4096; each level takes 8 bytes a texel, 13 under a cover that turns the ground toward its field. |
groundDetail |
boolean |
Whether the ground turns each cell’s textures at random, varies its colour broadly and bends its seams with noise. |
groundLiveDistance |
number |
Metres from the eye within which the ground paints live over its bake, so the ground nearest the camera keeps its materials’ full sharpness. 0 draws all of it from the bake, as a camera high over the ground can. |
groundPixelError |
number |
The canvas’s CSS pixels a chunk of the drawn ground may stand off its grid’s heights, where the chunk comes nearest the camera: each chunk draws the coarsest of its levels that holds it. Larger draws fewer triangles further off. A number from 0.5 to 16. |
localLights |
LocalLightCount |
How many three point lights the world’s pool of local lights holds: the <LocalLight>s and registered local lights that light the view most each frame get one, and the rest wait. Fixed, so a light that comes or goes compiles no shader; a change of level compiles the lit shaders once. 0 lights none. A whole number from 0 to 16. |
maxPointLights |
PointLightCount |
The point lights every lit program draws, held still so a lamp that mounts compiles nothing: the light pool ranks the PointLights in view into them. 0 draws none, and an emissive still glows. Each one costs every lit pixel one more light. |
multisampling |
number |
The post-processing stack’s samples per pixel. None where the level draws at a pixel ratio of 2 or more, whatever this says. |
occlusion |
boolean |
Whether ambient occlusion draws, the look’s and any <AmbientOcclusion> a scene mounts. The look’s stack mounts while any of grading, bloom and occlusion draws. |
occlusionHalfResolution |
boolean |
Whether ambient occlusion samples at half the canvas’s resolution, a quarter of the cost, and at a quarter where the level draws at a pixel ratio of 2 or more. |
occlusionQuality |
OcclusionQuality |
Ambient occlusion’s sample preset, where a stack names none. |
pixelRatio |
number |
The cap on the canvas’s pixel ratio, never above the screen’s own. |
precipitationShare |
number |
The share of a rain’s drops that fall, 0 to 1. |
scatter |
number |
The share of the decorative scatter that stands, 0 to 1: what blocks a walker always stands. |
screenSpaceAntiAliasing |
ScreenSpaceAntiAliasing |
The filter the stack runs over the finished frame, beside the samples. None where the level draws at a pixel ratio of 2 or more, whatever this says. A level that draws no other part of the look’s stack mounts one for it. |
shadowDistance |
number |
Metres along the view the sun’s shadow reaches, from the camera. |
shadowMapSize |
number |
The side of each of the sun’s two cascade maps in texels, up to 4096; 0 casts none. The two share one map twice as wide. |
textureAnisotropy |
TextureAnisotropy |
The anisotropic filtering of the textures the engine filters, the ground’s, its decals’ and every model’s maps, a whole number from 1 to 16 that three caps at the device’s most; 1 filters none. Named for the texture, since three’s anisotropy also names a physical material’s brushed highlight. |