I’ve got an issue and I don’t know how to figure out it.
I 've got a configurator that loads a canvas with a gltf model.
The application is in Nuxt and the the navigation is ajax based.
I’ve seen during the navigation it stores a lot of webgl contexts (see image).
If I reload the page and I disable the ajax navigation the context is always one
and I’ve not any problems.
How can I remove context programmatically, can you share any documentation ?
Thnaks in advance and kind regards,
Can you please try it with the following approach:
your approach and removing some lights ( Spot light in particularly)
seems let the application works in mobile.
it return me these errors:
TypeError: null is not an object (evaluating 'gl.getProgramInfoLog( program ).trim') in mobile
ncaught TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'. in Chrome
But know I try to resolve.