Unity allows you to set the level of graphical quality it will attempt 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 will have a detrimental effect on gameplay. TheQuality Settings inspector (menu: Edit->Project Settings->Quality) is split into two main areas. At the top, there is the following matrix:-

nity可以设置渲染图像的质量级别。一般来说,图形质量会导致帧速率降低,因此最好不要在移动设备或旧的硬件上使用最高图形质量,这会对游戏产生不好影响。图形质量设置面板有2个主要区域(菜单Edit->Project Settings->Quality)。在面板上方,有下列矩阵:

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 will apply 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 using the button below the matrix. You can use the trashcan icon (the rightmost column) to delete an unwanted quality level.

你可以在unity中为特定的质量选项组合设置一个名称。矩阵的行,可以设置不同的平台使用的质量级别。在矩阵底部,名为default的行是平台的默认质量级别(绿色复选框表示该平台目前所选择的级别)。Unity有6个预设的质量级别,你可以使用矩阵下方的按钮添加自定义的级别。可以通过垃圾桶图标(最右边的列)删除不必要的质量级别。

You can click on the name of a quality level to select it for editing, which is done in the panel below the settings matrix:-

点击质量级别的名称,选择编辑,在矩阵下方有如下设置面板:

The quality options you can choose for a quality level are as follows:-

质量级别可以设置的选项如下:

  • Name 名称
    The name that will be used to refer to this quality level
    质量级别的名称
  • Pixel Light Count 像素灯数量
    The maximum number of pixel lights when Forward Rendering is used.
    前向渲染使用的像素灯的最大数量
  • Texture Quality 纹理质量
    This lets you choose whether to display textures at maximum resolution or at a fraction of this (lower resolution has less processing overhead). The options are Full ResHalf ResQuarter Res and Eighth Res.
    你可以设置使用最大分辨率的纹理或者部分纹理(低分辨率纹理的处理开销低)。选项有 完整分辨率,1/2分辨率,1/4分辨率,1/8分辨率。
  • Anisotropic Textures 各向异性纹理
    This enables if and how anisotropic textures will be used.
    设置是否使用各向异性纹理和使用方式。
  • Disabled 禁用
    Anisotropic textures are not used.
    禁用各向异性纹理
  • Per Texture 每纹理
    Anisotropic rendering will be enabled separately for each Texture.
    每张纹理都将使用各向异性渲染。
  • Forced On 强制开启
    Anisotropic textures are always used.
    各向异性纹理一直启用。
  • AntiAliasing 抗锯齿
    This sets the level of antialiasing that will be used. The options are 2x4x and 8x multi-sampling.
    设置抗锯齿级别。选项有​​2倍,4倍和8倍采样。
  • Soft Particles 软粒子
    Should soft blending be used for particles?
    是否使用粒子软融合。
  • Shadows 阴影
    This determines which type of shadows should be used
    设置阴影的类型
  • Hard and Soft Shadows
    软硬阴影
    Both hard and soft shadows will be rendered.
    软,硬阴影都将会被渲染
  • Hard Shadows Only 仅硬阴影
    Only hard shadows will be rendered. 仅渲染硬阴影
  • Disable Shadows 禁用阴影
    No shadows will be rendered. 不渲染阴影
  • Shadow resolution
    阴影分辨率
    Shadows can be rendered at several different resolutions: LowMediumHigh and Very High. The higher the resolution, the greater the processing overhead.
    阴影可以渲染为如下分辨率:低,中,高,极高。分辨率越高,处理开销越大。
  • Shadow Projection
    阴影投射
    There are two different methods for projecting shadows from a directional light. Close Fit renders higher resolution shadows but they can sometimes wobble slightly if the camera moves. Stable Fit renders lower resolution shadows but they don't wobble with camera movements.
    平行光投射阴影有2种方式:Close Fit渲染较高分辨率的阴影,但是如果相机移动时,有时阴影会轻微摆动。Stable Fit渲染的阴影分辨率较低,不过相机移动时不会发生摆动。
  • Shadow Cascades
    阴影层叠
    The number of shadow cascades can be set to zero, two or four. A higher number of cascades gives better quality but at the expense of processing overhead (see the Directional Shadows page for further details).
    阴影的层叠数可以设置为0。层叠数越高,阴影质量越好,但是计算花费也越大。(查看 方向阴影 页面获取更多细节 )
  • Shadow Distance 阴影距离
    The maximum distance from camera at which shadows will be visible. Shadows that fall beyond this distance will not be rendered.
    相机的最大阴影可见距离。超出这个距离的阴影不会被渲染。
  • Blend Weights 融合权重
    The number of bones that can affect a given vertex during an animation. The available options are one, two or four bones.
    骨骼的数量会影响动画的顶点。选项有1,2,4个骨骼。
  • VSync Count 垂直同步计数
    Rendering can be synchronised with the refresh rate of the display device to avoid "tearing" artifacts (see below). You can choose to synchronise with every vertical blank (VBlank), every second vertical blank or not to synchronise at all.
    渲染可以与显示设备的刷新率同步,以避免"撕裂"的现象(见下文)。你可以选择同步每一个垂直空白(VBlank),每一秒的垂直空白或不同步。
  • LOD Bias
    LOD偏离
    LOD levels are chosen based on the onscreen size of an object. When the size is between two LOD levels, the choice can be biased toward the less detailed or more detailed of the two models available. This is set as a fraction from 0 to 1 - the closer it is to zero, the more the bias is toward the less detailed model.
    LOD级别基于物体在屏幕上的大小。当物体大小在两个LOD级别之间,可以选择使用低细节模型或高细节模型。数值取值范围为0-1,数值越接近0,越偏向于选择低细节模型。
  • Maximum LOD Level
    最大LOD级别
    The highest LOD that will be used by the game. Models which have a LOD above this level will not be used and omitted from the build (which will save storage and memory space).
    游戏中使用的最高LOD级别。在该级别以上的模型不会被使用,并且在编译时忽略。(这将节省存储空间和内存空间)。

Tearing 撕裂

The picture on the display device is not continuously updated but rather the updates happen at regular intervals much like frame updates in Unity. However, Unity's updates are not necessarily synchronised with those of the display, so it is possible for Unity to issue a new frame while the display is still rendering the previous one. This will result in a visual artifact called "tearing" at the position onscreen where the frame change occurs.

显示设备上的图像更新并不是连续的,而是类似Unity的帧一样定期更新。然而,Unity的更新不一定与显示设备的更新同步,所以有可能Unity提交了新的一帧图像,而显示设备仍显示前一帧图像。这会导致发生变化的屏幕位置出现"撕裂"的现象。


Simulated example of tearing. The shift in the picture is clearly visible in the magnified portion.

撕裂的示例。图片的放大部分可以清楚看到变化。

It is possible to set Unity to switch frames only during the period where the display device is not updating, the so-called "vertical blank". The VSync option on the Quality Settings synchronises frame switches with the device's vertical blank or optionally with every other vertical blank. The latter may be useful if the game requires more than one device update to complete the rendering of a frame.

可以让Unity在显示设备不更新的时候提交新的帧图像,这个时间段称为"垂直空白"。 质量设置的垂直同步选项可以同步帧切换和设备的垂直空白,或者是其他所有设备的垂直空白。后者可用于游戏需要更新多个设备以完成一帧的渲染的情况。

Anti-aliasing 抗锯齿

Anti aliasing improves the appearance of polygon edges, so they are not "jagged", but smoothed out on the screen. However, it incurs a performance cost for the graphics card and uses more video memory (there's no cost on the CPU though). The level of anti-aliasing determines how smooth polygon edges are (and how much video memory does it consume).

抗锯齿可以改善多边形边的显示效果,在屏幕上显得平滑而不是锯齿。抗锯齿会占用显卡的性能和显存(不会占用CPU性能)。抗锯齿的级别决定了多边形的边的平滑程度。(也决定了消耗显存的多少)

 
Without anti-aliasing, polygon edges are "jagged".
未开启抗锯齿,多边形的边显示为锯齿状。

 
With 6x anti-aliasing, polygon edges are smoothed out.
开启6倍抗锯齿,边显得平滑。

unity 质量设置 Quality Settings的更多相关文章

  1. 播放器设置 Player Settings

    原地址:http://game.ceeger.com/Manual/class-PlayerSettings.html#Android Player Settings is where you def ...

  2. Unity引擎的Player Settings介绍

    我用的是unity5.4.3版本的 一.窗口打开: 从菜单栏查看播放器设置,选择 Edit->Project Settings->Player 二.全局设置 第一部分: Company N ...

  3. ffdshow 源代码分析 3: 位图覆盖滤镜(设置部分Settings)

    ===================================================== ffdshow源代码分析系列文章列表: ffdshow 源代码分析 1: 整体结构 ffds ...

  4. 第三部分:Android 应用程序接口指南---第二节:UI---第五章 设置(Settings)

    第5章 设置(Settings) 应用程序通常包括允许用户修改应用程序的特性和行为的设置功能.例如,一些应用程序允许用户指定通知是否启用或指定多久使用云同步数据.如果你想要为你的应用程序提供设置,你应 ...

  5. Unity调试设置

    [Unity调试设置] 1.Mac中,"Unity"->"Preferences...". Windows中,"Edit"->& ...

  6. 设置(settings)

    设置(settings) 题目描述 如题所示,这将是一个关于设置的问题. 你需要通过对一个控制台进行设置,来得到不同的效果. 这个控制台由n个控制元件组成,每个元件有m种设置,其中i号元件的第j种设置 ...

  7. 网格导入设置 Import settings for Meshes

    原地址:http://game.ceeger.com/Components/FBXImporter-Model.html The Import Settings for a model file wi ...

  8. Unity推荐设置(HoloLens开发系列)

    本文翻译自:Recommended settings for Unity Unity提供了一系列默认选项,这些选项能够适用于所有平台的一般情况.但是,Unity同样为HoloLens提供了一些特殊行为 ...

  9. unity批量设置图片为etc2格式或者astc格式

    网上找了半天,没一个能用的,干脆自己写个,直接拷贝这个脚本就行 这个是ios版本的,安卓的话写在注释里面,去掉注释就能用了 现在ios支持一种新格式叫astc比原本的pvrtc压缩比更高,而且质量更高 ...

随机推荐

  1. overlay实现容器跨主机通信

    本节内容: Docker容器跨主机通信方案 环境信息 升级内核 安装docker 防火墙设置和开启内核转发 安装启动consul 启动Docker 创建overlay network 创建容器 测试容 ...

  2. 一步一步学习IdentityServer3 (10)

    在某些服务器环境下 identityserver3 会闹情绪, 比如在google浏览器下授权失败(陷入死循环) 查了很多资料好像然并卵 Microsoft.Owin.Security.Notific ...

  3. Python全栈开发之21、django

    http://www.cnblogs.com/wupeiqi/articles/5237704.html http://www.cnblogs.com/wupeiqi/articles/5246483 ...

  4. 001 Java 深拷贝、浅拷贝及Cloneable接口

    原本写过,后来在阅读的时候,感觉自己都不是太明白了,删除后参考人家的又重新写了一份. 一:开篇 1.复制一个变量 举例是int类型. 其他其中七种原始数据类型同样适用. 原始类型:boolean,ch ...

  5. TradingView 自定义指标

    TradingView 支持自定义指标,不过是把你要定义的指标写成一个 JS 源文件(customIndex.js),放在图表库 static 文件夹下.自定义指标 JS 源代码模板如下: __cus ...

  6. js javascript 实现多线程

    在讲之前,大家都知道js是基于单线程的,而这个线程就是浏览器的js引擎. 首先来看一下大家用的浏览器都具有那些线程吧. 假如我们要执行一些耗时的操作,比如加载一张很大的图片,我们可能需要一个进度条来让 ...

  7. Linux VXLAN

    VXLAN协议 VXLAN是Virtual eXtensible Local Area Network的缩写,RFC 7348的标题“A Framework for Overlaying Virtua ...

  8. BoneBlack am335x can0 通讯配置与测试

    准备工具: 1.内核3.14.65,u-boot.文件系统 2.boneblack开发板 3.串口线.电源线,测试线,测试夹 一.配置内核支持CAN通讯 [*] Networking support ...

  9. JAVA 9 新特性

     Oracle已将JAVA 9的开发提上日程.OpenJDK上已经出现了关于下一个主版本JAVA 9的改进建议(JEP).与以往不同,Oracle在这次谈及了一些真正的特性.而早期对于JDK9的声明仅 ...

  10. 机器学习之路:tensorflow 深度学习中 分类问题的损失函数 交叉熵

    经典的损失函数----交叉熵 1 交叉熵: 分类问题中使用比较广泛的一种损失函数, 它刻画两个概率分布之间的距离 给定两个概率分布p和q, 交叉熵为: H(p, q) = -∑ p(x) log q( ...