cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Support WebGPU in Typescript

Open GengineJS opened this issue 1 year ago • 2 comments

Cocos Creator version

3.8.4

System information

Web

Issue description

[WebGPU] support is currently being added to the gfx layer in the TS engine. This issue is being used to track and communicate progress information regarding this development effort.

Relevant error log output

No response

Steps to reproduce

The main issues have currently been resolved:

  • The issue of textures not displaying has been resolved.

  • The startup screen error message issue has been resolved.

  • The model material compilation issue has been addressed.

  • The problem of standard material rendering resulting in a black screen has been fixed.

  • The issue of particles not being displayed has been taken care of.

  • The abnormal terrain display issue has been dealt with.

  • The skybox display anomaly issue has been corrected.

  • The unlit material rendering with vertex data disorder has been resolved. image

Minimal reproduction project

This branch is the development branch for WebGPU. https://github.com/GengineJS/engine/tree/WebGPU

GengineJS avatar Apr 16 '24 03:04 GengineJS

After pulling the code from the repository linked by me, open it with the custom engine in version 3.8.3 and check the WebGPU checkbox to run.

企业微信截图_17132383627038

GengineJS avatar Apr 16 '24 03:04 GengineJS

Latest Progress:

  • Fixed the issue where the TestList UI in TestCase was not displaying.

  • Resolved the error that occurred when the location value of the standard material in the old version exceeded 16.

  • Fixed the issue where the dragon bones was not visible.

  • Resolved the problem with skin and skeleton animations not being displayed.

  • Addressed the issue where the screen would not display after enabling instancing.

image image image image

GengineJS avatar Apr 28 '24 07:04 GengineJS

All webgpu functions are completed:https://github.com/cocos/cocos-engine/pull/17096

GengineJS avatar Jun 12 '24 02:06 GengineJS