UE4 Mobile Physical-Based Rendering and Material Template Design

本文详细介绍了基于物理的渲染(PBR)理论,包括微表面理论,以及在UE4中实现PBR的方法,特别是针对移动平台的优化。讨论了Lambert、Burley、OrenNayar等不同类型的漫射BRDF,以及Blinn、Beckmann、GGX等微表面镜面BRDF模型。此外,还详细探讨了UE4中PBR材质的构成,如基色、金属度、粗糙度和发射颜色等属性,并给出了材质纹理布局的建议。
摘要由CSDN通过智能技术生成

1. Theory

Physically-based rendering is a theory to shade based on physical lighting theory instead of artist painting. That means it's more accurate. Artist need to suit for new pipeline and discript object surface more scientifically. 

1) Physically Light

Light is technically an electromagnetic transverse wave. Electromagnetic waves can be characterized by frequency or wavelength. Normally, we can assume light as a ray. 

When a light ray come to a new surface, some ray will reflect directly, some ray come into surface and after complex interactive with scattering particles, reflect back out of surface, some ray is event directly absorbed, some ray will pass through objects. So, we define these phenomenon as Opacity, Translucent, Diffuse Reflection and Specular Reflection.

About opacity and translucent, they are very easy to understand. But the two reflection(diffuse & specular) are complex to calculation. In the following, we are focus on microfacet theory on simulate two reflection.

2) Microfacet Theory

In theory, diffuse and specular reflection are dependent on surface roughness and  metallicity. Microfacet theory think light ray keep simple reflection rules. A roughness surface composed by a lot of micro face. because all micro face face to different direction. That cause light ray will reflection to different direction.

Roughness will affect both diffuse and specular. More rough surface will has less diffuse(not very obviously though). More rough surface will cause specular spread more area and more dark(energy conservation).

Metalicity will cause weather diffuse exist(or very weak). Metal almost doesn't have diffuse, more strong specular at same time(energy conservation).

Every surface has special attribution to absorb some kind of light ray(wave) and reflection some kind of light ray(wave). There's the basic property of surface. As RGB is used to represent light ray. This property can also be a value between 0 to 1 to identify how much color reflected.

In mathematics, we always define these reflection model as Bidiretional Reflectance Distribution Function(BRDF).  

    <Final BRDF> = a * <Diffuse BRDF> + b * <Specular BRDF>

3) Diffuse BRDF


Lambert

Burley

OrenNayar

Gotanda

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值