I'm experiencing an issue with my WebGL / Three.js game where there is an unhelpful shader program linking error when ANGLE is used for providing WebGL. To address this, I am looking to implement a prominent warning specifically for ANGLE users on the homepage, along with instructions on how to switch to the native OpenGL renderer. Additionally, I want to automatically disable shadows if the user does not make the switch to native GL.
The challenge lies in detecting shader failures and identifying if ANGLE is being used. One approach I am considering is using the following approximation:
IF Windows AND ( Chrome OR Firefox ) THEN displayWarning()
Are there any alternative suggestions or solutions that might work better?