In general, WebGL rendering requires the user of shader programs. A shader program (or "shader") is written using the OpenGL Shading Language (GLSL), which is a high-level language based on the syntax of the C programming language. GLSL gives developers deep access to the graphics pipeline without having to use assembly language or hardware-specific languages. Shaders must be loaded with a source string (shaderSource), compiled (compileShader), and attached to a program (attachShader) which must be linked (linkProgram) and then used (useProgram).
GLSL components supported in Internet Explorer 11 are as follows.
The vertexAttrib family of commands set a default vertex element that will be used for all attribute input when a vertex attribute is disabled.
This topic lists errors that a WebGL shader can return.
- WebGL 1.0 API Quick Reference Card
- OpenGL / OpenGL ES Reference Compiler
- WebGL API for Internet Explorer
- GLSL errors