My team and I are developing a game using an environment map that is generated by the PMREMGenerator. But recently we’ve noticed that some desktop computer won’t support this feature and return as an error that the WebGL context failed to be created.
Here’s a codepen that replicate the issue: https://codepen.io/Kromahtique/pen/QWjWKRv
While I see the blue sphere, some other users just see a black screen with an error ending with “WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost”.
Here’s the complete log of the error: https://justpaste.it/3j06z
Moreover, there seems to be a pattern where those who can’t run this feature have computers with integrated graphic chips, among which:
- Intel HD Graphics 620
- Intel® HD Graphics 520 (from 2 different users)
- Intel® HD Graphics 630
The result doesn’t seem to depend on the browser being used.
Is there no hope to be able to support the PMREMGenerator on these devices? Or at least being able to test that this feature is supported, so we can use a fallback solution if it is not?