I am working on a WebGL (using ThreeJs) application that, obviously, shows 3D models, and we are using some effects (shaders), looking to make a test to know whether the user can run the app or not, I find a way to retrieve a list of the supported plugins in the used browser.
The Question:
the problem that I am facing is rather to know what are the required plugins for my application, is there a way to automatically detect them?
More details:
for further details I would specify an example of what I need:
- In my MacBook Pro under Mac OSX Maverix, the application is working fine
- Testing the application on my Lenovo Laptop, under Windows 7, then Windows 8, the application is not working, and the problem is cause by the Bokeh2 Shader.
Examining the list of supported WebGL extensions I've found that there are some extension that are missing in Lenovo compared to Mac, so how can I tell which are the required extension that if missing will break the WebGL app.
This is a list of the extension I have in both, mac and lenovo.
In my Mac:
ANGLE_instanced_arrays
WEBKIT_EXT_texture_filter_anisotropic
OES_element_index_uint
OES_standard_derivatives
OES_texture_float
OES_texture_float_linear
OES_texture_half_float
OES_texture_half_float_linear
OES_vertex_array_object
WEBKIT_WEBGL_compressed_texture_s3tc
WEBKIT_WEBGL_depth_texture
WEBGL_draw_buffers
WEBGL_lose_context
WEBGL_debug_renderer_info
In my Lenovo:
ANGLE_instanced_arrays
WEBKIT_EXT_texture_filter_anisotropic
OES_element_index_uint
OES_standard_derivatives
OES_texture_float
OES_texture_half_float
OES_texture_half_float_linear
OES_vertex_array_object
WEBKIT_WEBGL_compressed_texture_s3tc
WEBGL_lose_context
WEBGL_debug_renderer_info
The missing ones in Lenovo:
OES_texture_float_linear
WEBKIT_WEBGL_depth_texture
WEBGL_draw_buffers