-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The WebGPURenderer causes the browser to crash while loading the glb model #26469
Comments
Do you mind sharing your code at GitHub? The zip download at gitee only works with an account and the clone via git takes ages because of a low downloading speed. |
I've shared it on GitHub,see:WebGPU3dPreview |
Your model has 80.000.000 faces and produces 16000 draw calls. I'm not surprise that this model crashes the renderer. I suggest you simplify the model and try again. |
The same model is not stuck on the WebGL version, at 60ms at frame time, but crashes when opened with WebGPU and called render() method. I looked on the console and found that the render function keeps executing when I'm not rendering, which I'm sure I didn't call. |
Do you mind reproducing the issue with a smaller asset? |
What GPU is that with? |
3070TI |
Performs well in BabylonJS WebGPU and THREEJS WebGL |
@sunag any ideas? |
@mlt131220 Could you test again? |
There hasn't been any improvement. When my scene is large, using WebGL may seem sluggish, but when I switch to WebGPU, the entire browser window freezes and cannot be closed. Even after waiting for a while, the browser cannot close! |
In my case of GITHUB, we can see that the use of WebGL is very smooth and the mapping is normal. After switching to WebGPU, Catton can not rotate and the map is lost! In the larger scene in my project, the browser faked death directly, and the browser can only be closed from the Task Manager! |
I found the main problem, it is still related to the |
Thank you for your reply. |
Is there any new progress |
This improvement is being discussed here with others related. |
OK |
Merging this issue into #26673. |
Description
I found that when I used WebGPURenderer to load the glb model, the browser would crash. Under webgl is normal!
I made a simple example,see: web-gpu3d-preview
Reproduction steps
Code
// code goes here
Live example
web-gpu3d-preview
Screenshots
No response
Version
r154
Device
Desktop
Browser
Chrome
OS
Windows
The text was updated successfully, but these errors were encountered: