Skip to content
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

[WebGL] - GL_INVALID_OPERATION: Insufficient buffer size due to automatic mesh LOD #74198

Open
Tracked by #57416
Henrique-Henrique opened this issue Mar 2, 2023 · 3 comments

Comments

@Henrique-Henrique
Copy link

Godot version

4.0.stable

System information

WebGL, Windows 11

Issue description

Some .glb (.fbx and .dae too) mesh don't show after a certain distance

Scene on web - WebGL:
example

Scene running on Desktop - OpenGL
example pc

Error:
image

Steps to reproduce

  1. Create project
  2. Add .glb to Scene
  3. Add Camera3D
  4. Play on Web

Minimal reproduction project

RenderExample.zip

@Calinou
Copy link
Member

Calinou commented Mar 2, 2023

This is an issue with automatic mesh LOD rendering. OBJ meshes don't have those generated, so the issue doesn't affect them.

As a workaround, select the glTF scene in the FileSystem dock and disable Generate Lods in the Import dock.

@Calinou Calinou changed the title [WebGL] - GL_INVALID_OPERATION: Insufficient buffer size. [WebGL] - GL_INVALID_OPERATION: Insufficient buffer size due to automatic mesh LOD Mar 2, 2023
@Henrique-Henrique
Copy link
Author

This works, thanks

@fire
Copy link
Member

fire commented Mar 6, 2023

I think there needs to be a global disable for lod and be set on by default for the web.

Alternatively we can debug why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants