Is this a per device sort of thing? Or is it based on the browser? Sorry for such a basic question but I cant seem to find a straight answer.
What version of GLSL does WebGL use
possible duplicate of Shaders in WebGL vs openGL? –
Detonate
It is based on OpenGL ES 2.0, and according to the spec, it must support GLSL ES version 1.00. In fact that is all it supports.
On another note, this has been my general reference for GLSL features: http://www.shaderific.com/glsl/
Another good reference for WebGL is the official Khronos WebGL Cheat Sheet. –
Lowbred
A great answer by @Lowbred here "Shaders in WebGL vs openGL? "https://mcmap.net/q/750968/-shaders-in-webgl-vs-opengl-closed/3291506 –
Detonate
The accepted answer is out of date. WebGL currently supports OpenGL ES 2.0 and OpenGL ES 3.0.
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. –
Nucleo
© 2022 - 2025 — McMap. All rights reserved.