HMS Core 6.0 was launched globally on July 15th. This new version opens up many new capabilities and technologies to developers. Among them, Huawei Graphics Computing Service (CG Kit) opened the volume fog plug-in and the fluid plug-in , providing a solid technical foundation for the improvement of 3D mobile game graphics.

CG Kit volume fog plug-in is the first mobile-side volume fog solution . This technology can not only render realistic fog, but also render complex lighting effects for fog. Through Huawei's understanding of the underlying hardware of the GPU, the CG Kit volumetric fog plug-in has the characteristics of high quality, high performance and low power consumption, and the single frame performance is better than 4ms on Huawei's high-end models. At present, the volume fog plugin supports high fog, the effect is similar to the real world fog, thicker near the ground, the higher the higher the thinner; support for noise fog, support fog density, absorption coefficient, scattering coefficient, shape, wind direction Wait for adjustment. This plug-in also supports global directional light body shadow rendering, and supports dynamic changes in the position of global ambient light (sunlight) and multiple local light sources (point light sources, surface light sources).

In addition to the volume fog plug-in, this time the CG Kit also opened the fluid plug-in. CG Kit fluid plug-in has three important features. : It can simulate real physical characteristics of high-speed shaking, and has a wide range of applicable scenarios; it supports zooming, which can be implemented as small as a character backpack or as large as a full-screen box; it is interactive and compatible in terms of solution. Objects floating and liquid splashing can even achieve larger waterfalls, rain, snow, smoke, fireworks explosions and other effects. In order to cope with the stringent performance and power consumption limitations of mobile phones, CG Kit uses native methods as the basis for improvements, maintaining a certain degree of authenticity while reducing additional overhead; at the same time, it improves the computer shader technology to fully tap the end-side computing power and improve Performance per unit of time; In addition, through the in-depth analysis and optimization of the scene, the calculation cost is greatly reduced, and the calculation time on the mobile phone side is reduced to less than 1ms. The SPH solution is brought to the mobile terminal for the first time, and the mobile terminal fluid effect is realized by leaps and bounds. upgrade. Help developers create high-fidelity, real-time interactive scenes, and enhance users' immersion and realism experience.

The new plug-in of HMS Core CG Kit opened this time brings new technical support for developers, allowing developers to easily achieve high-quality requirements, focusing on the innovation of game content, and bringing players a more realistic and gameplay experience More innovative next-generation high-quality mobile games.

Learn more >>

Visit Huawei graphics computing service official website

Visit Huawei Developer Alliance official website
Obtain 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~


HarmonyOS_SDK
596 声望11.7k 粉丝

HarmonyOS SDK通过将HarmonyOS系统级能力对外开放,支撑开发者高效打造更纯净、更智能、更精致、更易用的鸿蒙原生应用,和开发者共同成长。