In the keynote speech at the HDC Conference in 2021, it was mentioned that Huawei’s HMS Core graphics engine service (Scene Kit) is cooperating with the 37 games to create real-time DDGI (Dynamic Diffuse Global Illumination) technology. Enter the verification phase.
What is real-time DDGI? What effect can it bring?
The following are two comparison pictures. The left side is the direct light rendering, and the right side is the dynamic diffuse global illumination to increase the indirect light effect.
Through the comparison of the above two renderings, we can intuitively feel that the lighting effect in the left picture is relatively blunt and single, which does not conform to the actual visual effect, and when the DDGI is turned on on the right, the picture has a stronger sense of reality and more The details.
In graphics rendering technology, in order to achieve more realistic and realistic rendering, whether it is based on rasterization rendering or ray tracing rendering technology, GI (Global Illumination) needs to be taken into consideration. . How to achieve GI effects in real-time rendering, especially in mobile applications, has always been a more difficult problem. Different materials have different effects on GI. Because the surface of diffuse reflection (Diffuse) material will evenly scatter the light information, diffuse reflection GI is the most influential component of GI.
At the same time, the view point of the diffuse material is independent of the attributes, so for static light source scenes, you can cache the scene lighting information to the corresponding texture by offline baking light map (Light Map), light probe (Light Probe), etc., at runtime Find the texture directly and perform interpolation to quickly calculate the GI result. As shown below:
For dynamic light source scenes, there are also GI calculation methods such as RSM (Reflect Shadow Maps) and VPL (Virtual Point Light), but because the visibility item is ignored, there will be light leakage in the scene. In response to this phenomenon, the industry launched the DDGI algorithm in 2019. The DDGI algorithm is based on the Light Probe pipeline and incorporates distance information into Light Probe. Through light tracking, global illumination of dynamic light sources and dynamic objects is realized, and it is solved well. The light leakage problem can be regarded as the best global illumination scheme GI at present.
However, due to its dependence on the RT interface capability of hardware devices and platform limitations, the original DDGI solution cannot be implemented on the mobile terminal. The current global illumination GI technology requires high-performance platforms such as PCs and hosts for dynamic global illumination, or it needs to be baked in advance to meet the low computing power requirements of the mobile terminal. At present, the mobile terminal does not have a solution that can provide dynamic light sources and global illumination GI for dynamic objects. .
Until recently, HMS Core graphics engine service (Scene Kit) provided a set of mobile-oriented real-time dynamic diffuse global illumination (DDGI) technology, which can be extended to the entire platform without pre-baking. According to reports, this technical solution is based on the Light Probe pipeline, and an improved algorithm is proposed when the Probe is updated and colored to reduce the calculation load of the original pipeline. And realize the global illumination of multiple reflection information, effectively improve the rendering realism, and meet the real-time and interactive requirements of mobile terminal equipment.
It can be seen from the dynamic comparison chart that after DDGI is turned on, the lighting effects of the scene are more realistic, and the details of the shadows are displayed more abundantly, which significantly improves the overall display of the picture.
HMS Core graphics engine service (Scene Kit) is cooperating with Sanqi game on DDGI technology. I believe it will bring more different experiences to mobile game players in the future.
for more details>>
Visit Huawei Developer Alliance official website
Obtain the development guide document
Huawei Mobile Services open source warehouse address: GitHub , Gitee
and learn about the latest technical information of HMS Core for the first time~
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。