{"id":14981327,"url":"https://github.com/mcgode/webgl-float-texture-support","last_synced_at":"2026-02-16T06:32:30.774Z","repository":{"id":143928025,"uuid":"198405078","full_name":"Mcgode/webgl-float-texture-support","owner":"Mcgode","description":"A module containing a function allowing the user to check if the current browser supports WebGL float textures","archived":false,"fork":false,"pushed_at":"2019-07-23T12:01:08.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T23:13:14.556Z","etag":null,"topics":["check","float","support","texture","three-js","threejs","web-gl","webgl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mcgode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-23T10:10:17.000Z","updated_at":"2024-05-31T08:56:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"7219406d-6a11-44f4-b7cc-a64380caf75f","html_url":"https://github.com/Mcgode/webgl-float-texture-support","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"3aaa5857ca7501a0584792ea527e41719e15db49"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mcgode%2Fwebgl-float-texture-support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mcgode%2Fwebgl-float-texture-support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mcgode%2Fwebgl-float-texture-support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mcgode%2Fwebgl-float-texture-support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mcgode","download_url":"https://codeload.github.com/Mcgode/webgl-float-texture-support/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242117717,"owners_count":20074438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["check","float","support","texture","three-js","threejs","web-gl","webgl"],"created_at":"2024-09-24T14:03:19.908Z","updated_at":"2025-10-08T05:51:54.754Z","avatar_url":"https://github.com/Mcgode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webgl-float-texture-support\n\nMost browsers today advertise the presence of the WebGL 1 float texture extension (known as 'OES_float_texture' extension),\nbut in reality don't support it, or support only very specific use cases only. Usually it is due to hardware limitations.\nThis module allows you to check the full support of WebGL 1 float textures extension. \n\n\n## Installation and usage\n\n### Using NodeJS\n\nInstall with the folowing command\n``` bash\nnpm install webgl-float-texture-support --save\n```\n\nYou can then use the module any way you want to \n```javascript\n// ES5 require\nconst WebGLFloatTextureSupport = require(\"webgl-float-texture-support\");\n\n// ES6 import\nimport WebGLFloatTextureSupport from \"webgl-float-texture-support\";\n\nlet floatTexturesSupported = WebGLFloatTextureSupport.check();\n\n...\n```\n\n### For direct browser use\n\nCopy the ```webgl-float-texture-support.js``` file to your script directory, then use the script in your page\n```html\n\u003cbody\u003e\n  \u003cscript src=\"./js/webgl-float-texture-support.js\"\u003e\u003c/script\u003e\n  \n  \u003cscript\u003e\n    let floatTexturesSupported = WebGLFloatTextureSupport.check();\n    \n    ...\n  \u003c/script\u003e\n\u003c/body\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcgode%2Fwebgl-float-texture-support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcgode%2Fwebgl-float-texture-support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcgode%2Fwebgl-float-texture-support/lists"}