Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
3D game development with C/C++
·
Module 4
The Graphics Pipeline and Shaders
Vertex Data & VBOs
Define vertex data (e.g., position, color) and store it in a Vertex Buffer Object (VBO).
2
Encapsulating Vertex Buffer State with VAOs
Use a Vertex Array Object (VAO) to encapsulate vertex buffer state.
3
Indexed Drawing with EBOs
Use an Element Buffer Object (EBO) to perform indexed drawing.
4
Vertex Position Processing with GLSL
Write a basic vertex shader in GLSL to process vertex positions.
5
Solid Color Fragment Shader
Write a basic fragment shader in GLSL to output a solid color.
Compiling GLSL to a Shader Program
Create a C function to compile GLSL shaders and link them into a shader program.
Uniformly Passing Data to Shaders
Pass data from the C application to shaders using uniforms.
8
Drawing Basic Shapes with Shaders
Render simple 2D shapes (e.g., a triangle) using a shader program and draw calls.
Previous module
Windowing and Graphics Context
Next module
Rendering in 3D Space