I'm new and it's also the first question I ask on a forum so forgive me if I don't formulate my question correctly, don't hesitate to advise me on this point too :)
I am currently developing an application that displays 360° images and I use the BabylonJS library for that.
So I have a navbar that allows me to navigate between the different 360 locations. But as soon as I change the 360 image via the navbar, I get these errors repeat in my console.
So if anyone can help me it would be really appreciated.
PS: If you need to see the code tell me !
thank you !
Error :
[.WebGL-00000A18072FEA00] GL_INVALID_OPERATION: Must have element array buffer bound.
WebGL: INVALID_OPERATION: uniformMatrix4fv: location is not from current program
CodePudding user response:
After a lot of testing I finally found the problem and therefore the solution. this is due to the fact that I had several scenes that overlapped. To solve this problem I simply deleted the previous scene before creating a new one.
