Willard21 / MineKhan

Minecraft for Khan Academy
78 stars 52 forks source link

Hotbar problem #89

Closed CubeCoding7 closed 2 months ago

CubeCoding7 commented 2 years ago

Anyone know why my hotbar looks like this? Screenshot (19) Any help would be greatly appreciated.

MicrolemurDev commented 2 years ago

Yikes that doesn't look normal. Are there any errors in the console?

CubeCoding7 commented 2 years ago

Yeah it says this in the console right after I load a new world. [.WebGL-00001CB6000B2300] GL_INVALID_OPERATION: Vertex buffer is not big enough for the draw call

MicrolemurDev commented 2 years ago

That probably is a Buffer Overflow issue but I don't know much about WebGL. Willard would probably have to look at this.

Willard21 commented 2 years ago

If it was the entire world, then I would have a couple ideas, but the fact that it's only the hotbar leaves me clueless.

CubeCoding7 commented 2 years ago

On the khan academy version the textures won't even load and it looks like this. minekhan-bug

Willard21 commented 2 years ago

Ah. Well I hate to always just blame the user, but it definitely looks like your graphics drivers don't support something that it's using.

CubeCoding7 commented 2 years ago

Yeah I thought it had to do something with my computer or my browser because my computer has been crashing and it's always very slow. It used to run fine, so I don't know why it just started doing that. Thanks for all the help though.

CubeCoding7 commented 2 years ago

I fixed it. Turns out that in the edge browser settings there is a toggle that says Use hardware acceleration when available if you toggle on it fixes it.

MicrolemurDev commented 2 years ago

Yeah that seems to be it. Software rendering could be causing the bug and maybe creating an overflow of the buffers. That alone could cause this weird artifact.

harsha7addanki commented 1 year ago

i Thout that you have a tiny GPU but that works too