Vertex Shader Challenge

A shader program is made of two sub-functions: a vertex and a fragment shader.

Both the vertex and fragment shader are written using OpenGL Shading Language (GLSL) and require a function called main in order to work:

void main() {

}

Let's start easy—replicate the above main function below:

vertex-glsl

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.