15

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.

Kahless
  • 1,213
  • 2
  • 13
  • 31
  • possible duplicate of [Shaders in WebGL vs openGL?](http://stackoverflow.com/questions/30364213/shaders-in-webgl-vs-opengl) – Startec Oct 04 '15 at 10:53

1 Answers1

12

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/

Community
  • 1
  • 1
Brendan Annable
  • 2,637
  • 24
  • 37
  • 3
    Another good reference for WebGL is [the official Khronos WebGL Cheat Sheet](https://www.khronos.org/files/webgl/webgl-reference-card-1_0.pdf). – gman Mar 13 '15 at 00:45
  • 2
    A great answer by @gman here "Shaders in WebGL vs openGL? "http://stackoverflow.com/q/30364213/3291506 – Startec Oct 04 '15 at 10:53