Kahless
Kahless

Reputation: 1253

What version of GLSL does WebGL use

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.

Upvotes: 16

Views: 11428

Answers (2)

James Kelly
James Kelly

Reputation: 21

The accepted answer is out of date. WebGL currently supports OpenGL ES 2.0 and OpenGL ES 3.0.

Upvotes: 0

Brendan Annable
Brendan Annable

Reputation: 2747

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/

Upvotes: 13

Related Questions