Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing a Shader in OpenGL

The Cherno via YouTube

Overview

Explore the fundamentals of shader programming in OpenGL through this 28-minute video tutorial. Learn how to create, compile, and implement shaders, including both vertex and fragment shaders. Dive into shader code structure, error handling, and data access techniques. Follow along as the instructor demonstrates writing a basic shader, accessing shader data, and testing the results. Gain practical insights into OpenGL shader development and enhance your graphics programming skills.

Syllabus

Intro
Shader Code Overview
Create Shader
Create Program
Compile Shader
Delete Shader
Get Shader IV
Get Error Message
Get Shader Info Log
Write a Shader
Accessing the Data
Fragment Shader
Testing

Taught by

The Cherno

Reviews

Start your review of Writing a Shader in OpenGL

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.