Most browsers today advertise the presence of the WebGL 1 float texture extension (known as 'OES_float_texture' extension), but in reality don't support it, or support only very specific use cases only. Usually it is due to hardware limitations. This module allows you to check the full support of WebGL 1 float textures extension.
Installation and usage
Install with the folowing command
npm install webgl-check-float-texture-support --save
You can then use the module any way you want to
// ES5 requireconst WebGLFloatTextureSupport = ;// ES6 import;let floatTexturesSupported = WebGLFloatTextureSupport;...
For direct browser use
webgl-float-texture-support.js file to your script directory, then use the script in your page