URP和Build-in功能对比

1 篇文章 0 订阅

本文地址:https://blog.csdn.net/t163361/article/details/123128730
最近准备申请新星创作者,需要2000个粉丝关注,觉得文章有用的,请点一下左侧边栏的关注,谢谢。

基于官方的URP12.1.4的Feature comparison table进行了整理,方便查看

支持度一致的主功能

Color Space 颜色空间
Lightmapping 光照贴图
Real-time Global Illumination 实时全局光照
Lightmap Modes 光照贴图模式
Skybox 天空球
Fog 雾效
UI (Canvas Renderer) 界面(画布渲染)
VR 虚拟现实
AR 增强现实

支持度有区别的主功能

Camera 相机

支持度一致的功能

HDR rendering HDR渲染
MSAA 多重采样抗锯齿
Physical Camera 物理相机
Dynamic Resolution动态分辨率
Multi Display 多屏幕
Stacking 堆叠
Depth Texture 深度纹理

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
HDR outputHDR输出支持In research
Flare Layer光晕层支持不支持
Depth + Normals Texture深度+法线纹理支持不支持
Color Texture颜色纹理不支持支持
Motion vectors运动矢量支持研究中

Batching 批处理

支持度一致的功能

Static Batching (By Material) 静态批处理(基于材质)
Dynamic Batching 动态批处理
GPU Instancing GPU实例

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Static Batching (By Shader)静态批处理(基于着色器)不支持支持
Dynamic Batching (Shadows)动态批处理(阴影)支持不支持

Realtime Lights 实时光源

支持度一致的功能

Light Types 光源类型

  • Directional 方向光
  • Spot 聚光灯
  • Point 点光源
  • Area 面光源 通过烘焙的方式支持矩形面光

Culling 剔除

  • Per-Object 按物体
  • Per-Layer 按层

Light Limits 光源限制

  • Main directional Light 方向光 只支持一盏
  • Vertex Lights 顶点光源

有区别的功能

Light Types 光源类型

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Inner Spot Angle内部聚光角度不支持支持
Shading着色Multiple Passes 多通道Single Pass 单通道
Light Limits 光源限制
Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
-----------------------------------------------------------------------------------------------------------------------------------------
Per Object按对象无限制8 (4 for GLES2). Can be point, spot, and directional Lights. 点光源,聚光灯,方向光支持
Per Camera按相机无限制256 (16 for GLES 3.0 or lower, 32 on other mobile platforms)
Attenuation衰减旧版本平方反比
SH Lights球谐光源支持研究中

Realtime Shadows 实时阴影

支持度一致的功能

Light Types 光源类型

  • Spot 聚光灯
  • Area 面光源 都不支持

Shadow Projection 阴影投射

  • Stable Fit 稳定配合

Shadow Cascades 阴影级联

  • Control by Percentage 按百分比控制

Shadow Resolve Type 阴影解析类型

  • Lighting Pass 光照通道

有区别的功能

Light Types 光源类型

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
directional方向光支持支持 - 只支持 1 盏
Point点光源支持研究中
Shadow Projection 阴影投射
Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
--------------------------------------------------------------------------------
Close Fit紧密配合支持研究中
Shadow Cascades 阴影级联
Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
--------------------------------------------------------------------------------------------
Number of Cascades级联的数量1, 2 or 41–4
Control by Distance按距离控制不支持支持
Shadow Resolve Type 阴影解析类型
Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
------------------------------------------------------------------------------------------------------------------------------------------------
Screen Space Pass屏幕空间通道支持不支持
Shadow Bias阴影偏差Constant clip space offset + normal biasOffsets shadowmap texels in the light direction + normal bias

Mixed Lighting Mode 混合光照模式

支持度一致的功能

Subtractive 减性
Baked Indirect 烘焙间接光

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Shadowmask阴影遮罩支持支持 (Forward Rendering Path 前向渲染路径)
Distance Shadowmask距离阴影遮罩支持支持 (Forward Rendering Path 前向渲染路径)

Light Probes 光照探针

支持度一致的功能

Blending 混合
Custom Provided 自定义提供
Occlusion Probes 遮挡探针

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Proxy Volume (LPPV)代理体积(LPPV)支持不支持

Reflection Probes 反射探针

支持度一致的功能

Realtime 实时
Baked 烘焙
Sampling 采样

  • Simple 简单

有区别的功能

Sampling 采样

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Blend Probes混合探针支持研究中
Blend Probes and Skybox混合探针和天空盒支持研究中
Projection 投影
Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
------------------------------------------------------------------------------------------------------
Box Projection盒体投影支持研究中

Environmental lighting 环境光

支持度一致的功能

Source 光源

  • Skybox 天空球
  • Gradient 渐变
  • Color 颜色

Ambient Mode 环境模式

  • Baked 烘焙

有区别的功能

Ambient Mode 环境模式

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Realtime实时支持研究中

Visual Effects Components 视觉效果组件

支持度一致的功能

Trail Renderer 轨迹渲染器
Billboard Renderer 公告牌渲染器

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Halo光环支持不支持
Lens Flare镜头光晕支持不支持
Projector投影器支持不支持

Shaders (General) 着色器(通用)

支持度一致的功能

Parallax Mapping 视差贴图
GPU Instancing GPU实例化
Double Sided GI 双面GI
Surface Type and Blend Mode 表面类型和混合模式

  • Opaque 不透明
  • Faded (Alpha Blend) 褪色(半透混合)
  • Transparent 透明
  • Cutout 镂空

Surface Inputs 表面输入

  • Albedo (Base Map) 反照率(基础贴图)
  • Specular 镜面反射
  • Metallic金属度
  • Smoothness 光滑度
  • Ambient Occlusion 环境屏蔽
  • Normal Map 法线贴图
  • Detail Map 细节贴图
  • Detail Normal Map 细节法线贴图
  • Heightmap 高度图

PBR 基于物理的渲染

  • Metallic Workflow 金属度工作流
  • Specular Workflow 高光工作流

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Shader Graph着色器图(官方工具)不支持支持
Surface Shaders表面着色器支持不支持
Camera-relative Rendering摄像机相对渲染不支持研究中
Light Cookies光照剪影支持研究中
Light Distance Fade光照距离淡化不支持研究中
Shadow Distance Fade阴影距离淡化支持研究中
Shadow Cascade Blending阴影级联混合不支持研究中
Two Sided双面不支持支持
Order In Layer基于图层的顺序不支持支持
Surface Type and Blend Mode 表面类型和混合模式
Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
----------------------------------------------------------------------------------------------------
Additive加法不支持支持
Multiply乘法不支持支持

Render Pipeline Hooks 渲染管线挂钩

支持度一致的功能

OnRenderObject
OnWillRenderObject
OnBecameVisible
OnBecameInvisible

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Camera.RenderWithShader支持不支持
Camera.AddCommandBuffer(Camera.Remove[All]CommandBuffer)支持不支持
Camera.Render支持不支持
Light.AddCommandBuffer(LightRemove[All]CommandBuffer)支持不支持
OnPreCull支持不支持
OnPreRender支持不支持
OnPostRender支持不支持
OnRenderImage支持不支持
Camera Replacement Material不支持支持, with a custom Pass 通过定制的通道
RenderPipeline.BeginFrameRendering不支持支持
RenderPipeline.EndFrameRendering不支持支持
RenderPipeline.BeginCameraRendering不支持支持
RenderPipeline.EndCameraRendering不支持支持
UniversalRenderPipeline.RenderSingleCamera不支持支持
ScriptableRenderPass不支持支持
Custom Renderers不支持支持

Post-processing 后处理

内置渲染管线使用Post-Processing Version 2 package
通用渲染管线内置后处理方案

支持度一致的功能

Bloom 泛光
Chromatic Aberration 色差
Color Grading 颜色分级
Depth of Field 景深
Grain 胶片颗粒
Lens Distortion 镜头失真
Vignette 渐晕
Motion Blur 运动模糊

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Ambient Occlusion (MSAO)环境屏蔽(多尺度环境光遮挡)支持研究中
Auto Exposure自动曝光支持不支持
Screen Space Reflections屏幕空间反射支持不支持

Particles 粒子

支持度一致的功能

Particles System (CPU) 粒子系统(CPU)
Soft Particles 软粒子
Distortion 扭曲
Flipbook Blending 翻页混合
Shaders 着色器

  • Physically Based 基于物理的渲染模型
  • Simple Lighting (Blinn Phong) 简单光照模型
  • Unlit 无光

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
VFX Graph (GPU)粒子系统(GPU)Not supportedYes

地形

支持度一致的功能

Shaders 着色器

  • Physically Based 基于物理的渲染模型
  • Unlit 都不支持
  • Speed Tree 加速树
  • Vegetation 生长
  • Detail 细节

Wind Zone 风区
GPU Patch Generation GPU地块生成
Surface Mask 都不支持

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Number of Layers层的数量无限制8
Surface Mask表面遮罩不支持研究中
Shaders 着色器
Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Simple Lighting (Blinn-Phong)简单光照模型支持研究中

2D

支持度一致的功能

Sprite 精灵
Tilemap 瓦片地图
Sprite Shape 精灵形状

有区别的功能

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Pixel-Perfect像素对齐支持 - using the 2D Pixel Perfect Package 使用像素包支持
2D Lights2D灯光不支持支持

Debug 调试

Feather功能内置渲染管线Unity 2018.x, 2019.x, 2020.x.通用渲染管线
Scene view modes场景视图模式支持研究中
  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

听星

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值