Skip to main content
added 80 characters in body
Source Link
Rabbid76
  • 212.1k
  • 30
  • 163
  • 205

The vertex shader failed to compile, because it has to be gl_Position instead of gl_position. GLSL is case sensitive. See Vertex Shader - Outputs:

void main() { gl_Position.xy = vertexPosition * 2; gl_Position.z = 0.0; gl_Position.w = 1.0; } 

The vertex shader failed to compile, because it has to be gl_Position instead of gl_position. GLSL is case sensitive:

void main() { gl_Position.xy = vertexPosition * 2; gl_Position.z = 0.0; gl_Position.w = 1.0; } 

The vertex shader failed to compile, because it has to be gl_Position instead of gl_position. GLSL is case sensitive. See Vertex Shader - Outputs:

void main() { gl_Position.xy = vertexPosition * 2; gl_Position.z = 0.0; gl_Position.w = 1.0; } 
Source Link
Rabbid76
  • 212.1k
  • 30
  • 163
  • 205

The vertex shader failed to compile, because it has to be gl_Position instead of gl_position. GLSL is case sensitive:

void main() { gl_Position.xy = vertexPosition * 2; gl_Position.z = 0.0; gl_Position.w = 1.0; }