Version: 1.3
语言 : 中文
Preset Manager
Script Execution Order 设置

Quality

Unity allows you to set the level of graphical quality it attempts to render. Generally speaking, quality comes at the expense of framerate and so it may be best not to aim for the highest quality on mobile devices or older hardware since it tends to have a detrimental effect on gameplay. Use the Quality settings (menu: Edit > Project Settings , then select the Quality category) to select the Quality Level in the Editor for the chosen device. It is split into two main areas: the Quality matrix appears at the top; and below it, the settings for the active Quality Level appear.

Unity lets you assign a name to a given combination of quality options for easy reference. The rows of the matrix let you choose which of the different platforms each Quality Level applies to. The Default row at the bottom of the matrix is not a Quality Level in itself but rather sets the default Quality Level used for each platform (a green checkbox in a column denotes the level currently chosen for that platform). Unity comes with six Quality Levels pre-enabled but you can add your own levels.

Edit the settings for a specific Quality level
A: The Quality Level you have defined in this project.
B: The currently active Quality Level.
C: The configuration of the current Quality Level.

To delete an unwanted Quality Level, use the trashcan icon (the rightmost column).

To select a Quality Level for editing, click on its name in the matrix.

To define a new Quality Level, click the Add Quality Level button and type the name for the new level in the Name property box.

然后,可选择以下部分中的哪些质量选项需要更新或设置:

Rendering

属性 描述
Render PipelineA series of operations that take the contents of a Scene, and displays them on a screen. Unity lets you choose from pre-built render pipelines, or write your own. More info
See in Glossary
The Render Pipeline Asset to use for this Quality Level.
Pixel Light Count 设置 Unity 使用前向渲染时的最大像素光照数。
AntiAliasing Choose the level of Multi-Sample Anti-aliasing (MSAA) that the GPU performs. The options are Disabled, 2x Multi Sampling, 4x Multi Sampling and 8x Multi Sampling.

Anti aliasing smooths the appearance of polygon edges. As the level of anti-aliasing increases, so does the smoothness and the performance cost on the GPU.

MSAA is compatible only with Forward rendering. For more information on other types of anti-aliasing and compatibility, see Post processing.
Realtime Reflection Probes 启用此选项可在游戏过程中更新反射探针
Resolution Scaling Fixed DPI Factor 将设备的屏幕分辨率降低到原始分辨率以下。有关更多详细信息,请参阅 Android Player 设置和 iOS Player 设置。
V Sync Count 选择将渲染与垂直空白同步还是根本不同步。Unity 可将渲染与显示设备的刷新率同步来避免撕裂瑕疵。可用选项包括 Every V BlankEvery Second V BlankDon’t Sync

撕裂

显示设备上的图片不会持续更新,而是定期更新,很大程度上就像 Unity 中的帧更新一样。但是,Unity 的更新不一定与显示器的更新同步,因此 Unity 有可能在显示器仍在渲染前一帧时发出新的帧。这会导致在屏幕上发生帧变化的位置处产生称为“撕裂”的视觉瑕疵。

模拟撕裂的示例。在放大的部分有清晰可见的图像偏移。
模拟撕裂的示例。在放大的部分有清晰可见的图像偏移。

可以使 Unity 仅在显示设备未更新的时间段(即所谓的“垂直空白”)切换帧。Quality 设置中的 V Sync Count 选项将帧开关与设备的垂直空白同步,还可以选择与每隔一个垂直空白同步。如果游戏需要多个设备更新来完成帧的渲染,后者可能会很有用。

纹理

属性 描述
Global Mipmap Limit Choose the highest resolution mipmap level that Unity uses when it renders textures. Higher mipmap levels have lower resolutions, which means that they require less GPU memory and GPU processing time.
This property only affects textures with a texture shape of 2D.

The options are:
  • 0: Full Resolution
  • 1: Half Resolution
  • 2: Quarter Resolution
  • 3: Eighth Resolution
For more detailed information about what these resolutions mean, see Mipmaps introduction.
Textures that do not have mipmaps render at their full resolution, regardless of the option you choose.
Mipmap Limit Groups Use these groups to designate specific textures that should disregard the globalTextureMipmapLimit or add a bias. This makes it possible to allocate more of your memory budget for important textures and less of it for less important textures.

This property only affects textures with a texture shape of 2D.

The options are:
  • Offset Global Mipmap Limit: –3
  • Offset Global Mipmap Limit: –2
  • Offset Global Mipmap Limit: –1
  • Use Global Mipmap Limit
  • Offset Global Mipmap Limit: +1
  • Offset Global Mipmap Limit: +2
  • Offset Global Mipmap Limit: +3
  • Override Global Mipmap Limit: Full Resolution
  • Override Global Mipmap Limit: Half Resolution
  • Override Global Mipmap Limit: Quarter Resolution
  • Override Global Mipmap Limit: Eighth Resolution
The Offsets bias the Mipmap Limit value for the applicable group of textures. For example, if the Global Texture Mipmap Limit is Half Resolution and you select Offset Global Mipmap Limit: –1, then the new Mipmap Limit for the applicable group of textures is Full Resolution.

The Overrides replace the Global Mipmap Limit for the applicable group of textures. For example, if the Global Texture Mipmap Limit is Half Resolution and you select Override Global Mipmap Limit: Full Resolution, then the new Mipmap Limit for the applicable group of textures is Full Resolution.

Note: If you delete or rename a Mipmap Limit Group, this triggers a dialog box that provides you with the option to re-import the textures in that group. Undo does not revert these import changes.
Anisotropic Textures 选择 Unity 是否以及如何使用各向异性纹理。选项包括 DisabledPer Texture 和 _Forced On_(即始终启用)。
Texture Streaming
Enable this checkbox to use Mipmap Streaming. If you are not planning to use the Mipmap Streaming system, disable this feature to avoid any overhead.
  Add All Cameras Enable this checkbox to make Unity calculate Mipmap Streaming for all active Cameras in the Project. This is enabled by default.

For more information, see Mipmap Streaming system: Configuring Cameras.
  Memory Budget Set the total amount of memory you want to assign to all loaded textures (in MB) when using the Mipmap Streaming system. This is set to 512 MB by default. For more information, see Mipmpap Streaming system: Setting the memory budget.
  Renderers Per Frame This controls the CPU processing overhead for the Mipmap Streaming system for the main thread and associated jobs. This is 512 by default (that is, processing 512 Mesh renderers per frame). Lower values reduce processing time, but increase delays to Unity loading the mipmaps.
  Max Level Reduction Set the maximum number of mipmaps that the Mipmap Streaming system can discard if the Mipmap Streaming system reaches the Memory Budget . This is set to 2 by default (which means that the system discards no more than two mipmaps).

This value is also the mipmap level that the Mipmap Streaming system initially loads at startup. For example, when this is set to 2, Unity skips the two highest mipmaps on first load.

For more information, see Mipmpap Streaming system: Setting the memory budget.
  Max IO Requests Set the maximum number of texture file in/out (IO) requests from the MipMap Streaming system that are active at any one time. This is set to 1024 by default. This default is set high enough to prevent any IO cap beyond what is already active due to the Async Upload pipeline or file system itself.

If the Scene Texture content changes significantly and rapidly, the system might attempt to load more Texture mipmaps than the file IO can keep up with. Lowering this value reduces the IO bandwidth that the Mipmap Streaming system generates. The result is a more rapid response to changing mipmap requirements.

Particles

属性 描述
Soft Particles Indicates whether to fade particles as they approach the edges of opaque GameObject. For more information, see Soft particles.
Particle Raycast Budget 设置用于模拟粒子系统碰撞的最大射线投射数(质量设置为 Medium 或 _Low_)。请参阅粒子系统碰撞模块

Soft particles

Soft particles fade out near intersections with other Scene geometry. This looks much nicer, but is more resource intensive to process and only works on platforms that support depth textures. Furthermore, you have to use the Deferred Shading rendering path, or make the camera render depth textures from scripts.

没有软粒子 - 与场景的可见交叉。
没有软粒子 - 与场景的可见交叉。
使用软粒子 - 交叉位置平滑淡出。
使用软粒子 - 交叉位置平滑淡出。

Terrain

属性 描述
Billboards Face Camera Position 启用此选项可在渲染时强制公告牌面向摄像机而不是摄像机平面。这种情况下会产生更好、更逼真的图像,但渲染成本更高。
Use Legacy Details Distribution Enable this option to use the previously supported scattering algorithm that often resulted in overlapping details. Included for backward compatibility with Terrains authored in Unity 2022.1 and earlier.
Terrain Setting Overrides Various override settings that, when enabled, override the value of all active terrains (except those with the “Ignore Quality Settings” setting enabled). For more information about these settings, see Terrain Settings.
  Pixel Error Value set to Terrain Pixel Error. See Terrain Settings.
  Base Map Dist. Value set to Terrain Basemap Distance. See Terrain Settings.
  Detail Density Scale Value set to Terrain Density Scale. See Terrain Settings.
  Detail Distance Value set to Terrain Detail Distance. See Terrain Settings.
  Tree Distance Value set to Terrain Tree Distance. See Terrain Settings.
  Billboard Start Value set to Terrain Billboard Start. See Terrain Settings.
  Fade Length Value set to Terrain Fade Length. See Terrain Settings.
  Max Mesh Trees Value set to Terrain Max Mesh Trees. See Terrain Settings.

Shadows

属性 描述
Shadowmask Mode 使用 Shadowmask 混合光照模式时选择阴影遮罩行为。使用 Lighting 窗口(菜单: Window > Rendering > Lighting )可在场景中设置此属性。
Distance Shadowmask Unity 对于 Shadow Distance 范围内的值使用实时阴影,超过此距离则使用烘焙阴影。
Shadowmask 投射阴影的静态游戏对象总是投射烘焙阴影。
Shadows 选择要使用的阴影类型。可用选项包括 Hard and Soft ShadowsHard Shadows OnlyDisable Shadows
Shadow Resolution 选择渲染阴影的分辨率。可用选项包括 Low ResolutionMedium ResolutionHigh ResolutionVery High Resolution。分辨率越高,处理开销越大。
Shadow Projection 选择投射方向光的阴影时使用的方法。
Close Fit 渲染更高分辨率的阴影,但如果摄像机移动,它们有时会略微抖动。
Stable Fit 渲染较低分辨率的阴影,但它们不会因摄像机移动而抖动。
Shadow Distance 输入可以看到阴影的相对于摄像机的最大距离。Unity 不会渲染超出此距离的阴影。
Shadow Near Plane Offset 输入阴影近平面偏移(用于解决大三角形由于阴影平坠而扭曲的问题)。
Shadow Cascades 选择要使用的阴影级联数量。可用选项包括 No CascadesTwo CascadesFour Cascades。级联数量越高,提供的质量越高,但代价是处理开销增大(有关更多详细信息,请参阅阴影级联 (Shadow Cascades))。
Cascade splits 通过向左或向右移动每个级联之间的垂直线来调整级联阴影分割。
根据 Shadow Cascades 设置的值,可以看到两种或四种不同的颜色。如果 Shadow Cascades 设置为 _No Cascades_,则会隐藏整个控件。

Async Asset Upload

属性 描述
Time Slice 设置 Unity 将缓冲的纹理和网格数据上传到 GPU 时花费的 CPU 时间量(以毫秒/帧为单位)。请参阅 LoadingTextureandMeshData
Buffer Size 设置 Unity 用于将纹理和网格数据串流到 GPU 的异步上传缓冲区大小(以 MB 为单位)。请参阅 LoadingTextureandMeshData
Persistent Buffer Indicates whether the upload buffer should persist even when there is nothing left to upload.

细节级别 (Level of Detail)

属性 描述
Lod Bias 设置细节级别 (LOD) 偏差。
根据对象在屏幕上的大小选择 LOD 级别。当大小在两个 LOD 级别之间时,可以偏向于两个可用模型中细节级别更低或更高者。此属性设置为 0 到 +无穷大之间的值。设置为 0 到 1 之间时,表示倾向于更少细节。超过 1 的设置表示倾向于更多细节。例如,将 LOD Bias 设置为 2 并使其在 50% 距离处变化,LOD 实际上仅基于 25% 变化。
Maximum LOD Level 设置游戏使用的最高 LOD。请参阅最大 LOD 级别以了解更多信息。

最大 LOD 级别

Unity 在构建中不会使用 LOD 低于 MaximumLOD 级别的模型,而是将其忽略(这样可以节省存储和内存空间)。Unity 使用与目标平台 Quality 设置相关联的所有 MaximumLOD 值中的最小 LOD 值。如果包含 LOD 级别,则该 LODGroup 中的模型将包含在构建中,并始终在运行时为该 LODGroup 加载,无论使用何种 Quality 设置均是如此。例如,如果在任何 Quality 设置中使用 LOD 级别 0,则所有 LOD 级别都会包含在构建中,并且所有引用的模型都会在运行时加载。

Meshes

属性 描述
Skin Weights 选择在动画期间可以影响给定顶点的骨骼数量。可用选项包括 1 Bone2 Bones4 BonesUnlimited



  • Terrain Quality Setting Overrides added in 2022.2

QualitySettings

Preset Manager
Script Execution Order 设置