WebGL context is lost when trying to display models with many vertices
See original GitHub issueI tried to display some samples with Ashes v0.0.18. However, it seems to fail when trying to display the model of the number of vertices.
WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
Model name | result |
---|---|
Cylinder Engine | ✅ |
Reciprocating Saw | ❌ |
Gearbox Assy | ❌ |
Buggy | ❌ |
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Long-running shaders result in webgl context lost #263 - GitHub
Sometimes it prints NaN, and Chrome reports that "WebGL hit a snag"; Sometimes it errors with "Couldn't compile vertex shader"; Sometimes it ...
Read more >WebGL scene does't render because of lost context
Your browser is hanging while rendering the WebGL scene and loses its context because the browser has effectively lost control on your GPU....
Read more >"WebGL: CONTEXT_LOST_WEBGL" when loading large scenes
Hi, I want to use Blend4Web to visualize concepts for my company's ... viewer.html:1 WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
Read more >WebGL best practices - Web APIs - MDN Web Docs - Mozilla
Avoid changing VAO attachments (vertexAttribPointer, disable/enableVertexAttribArray) · Delete objects eagerly · Lose contexts eagerly ; Use webgl.
Read more >WebGL Multiple Views, Multiple Canvases
This is a good solution for simulating multiple canvases. Let's say you wanted to make character selection screen for a game an you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I confirmed that the above problem was solved with the latest version of the library.
Ashes v0.0.23 + Buggy.gltf result:
Ashes v0.0.23 + CesiumMilkTruck.gltf result:
Thanks! That was a mistake of texture handler.