pannellum: Firefox texture error.
Sometimes I try to load pannellum on firefox and image loads with some different colors or entire black. When the image is black I got these 2 messages on console:
"Error: WebGL warning: drawArrays: Active texture 0 for target 0x0de1 is 'incomplete', and will be rendered as RGBA(0,0,0,1), as per the GLES 2.0.24 $3.8.2: The dimensions of `level_base` are not all positive."
"Image corrupt or truncated."
Firefox version is 56.0.2 (64-bit) with windows 10.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24 (4 by maintainers)
This isn’t exactly a solution but more of a contingency plan…
Would it be possible to detect this error and have Pannellum display an error message and/or some kind of static ‘2D’ fallback image instead?
That way the end user would see something, and wouldn’t be left with a black screen or something that looks corrupted.
The issues I’ve seen appear to be resolved with Firefox 58 (currently beta).
I’ve fix this issue by disable nvidia web driver and cuda drive on macosx high sierra.