Built-In Types
GLSL has some built-in attributes in a vertex shader, including
- gl_Vertex – 4D vector representing the vertex position
- gl_Normal – 3D vector representing the vertex normal
- gl_Color – 4D vector representing the vertex color
- gl_MultiTexCoordX – 4D vector representing the texture coordinate of texture unit X