Vertex Shaders built-in variables
I am reading the OpenGL ES 2.0 Programming Guide book. Chapter 8 discusses about Vertex Shaders and it mentions about some built-in special variables such as gl_Positiongl_PointSize, gl_FrontFacing. Also, built-in Univorfm State gl_DepthRange, etc.
Where can I find all the corresponding Vertex Shaders built-in variables on WebGL?
I found the WebGL cheat sheet on http://www.nihilogic.dk/labs/webgl_chea ... _Sheet.htm. Do we have an equivalent of Vertex Shaders cheat sheet?
Thanks in advance for your help.
Re: Vertex Shaders built-in variables
I think you are searching for the current OpenGL ES Shading Language Specification. Take a look into chapter 7 ("Built-in Variables").
If there is in future a new version of that specification, you will find it here: