============= Shader Editor ============= .. warning:: This tool has been deprecated and will soon be removed from Firefox. For details, see :doc:`Deprecated tools <../index>`. The Shader Editor enables you to see and edit the vertex and fragment shaders used by `WebGL `_. .. raw:: html

WebGL is a `JavaScript `_ API for rendering interactive 3D graphics and 2D graphics in the browser without using plugins. With WebGL you provide 2 programs called **shaders** which are called at the appropriate stages of the `OpenGL rendering pipeline `_: a `vertex shader `_, which computes the clip space coordinates of each vertex to be drawn, and a `fragment shader `_, which determines the color for each pixel to be drawn. These shaders are written in **OpenGL Shading Language**, or `GLSL `_. In WebGL they can be included in a page in several ways: as text hardcoded in JavaScript strings, as separate files included using `