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

YouTube

Introduction to Shaders - Lecture 18

Dave Churchill via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the fundamentals of shader programming and GLSL (OpenGL Shading Language) in this comprehensive game programming lecture. Begin with an introduction to what shaders are and their role in modern graphics programming, then dive into practical tutorials using The Book of Shaders and Shader Toy platforms. Learn essential concepts including coordinate systems and resolution handling, defining output colors, and working with textures. Master practical techniques such as converting images to grayscale, implementing image masking, and creating time-based visual effects. Discover how to implement a green screen effect, draw geometric shapes like circles, and create atmospheric lighting with spotlight effects. Examine complex shader examples to understand advanced techniques, then learn how to integrate shaders into game development using the SFML graphics library. The lecture concludes with an overview of shader packs and additional examples to inspire further exploration. This session provides both theoretical understanding and hands-on coding experience essential for implementing visual effects in game engines.

Syllabus

00:00 - Intro + Resources
00:40 - https://youtu.be/Ge-g3xZ5bb8
01:00 - What are Shaders / GLSL?
06:55 - The Book of Shaders Tutorial
21:55 - Shader Toy Tutorial / Live Coding
22:25 - Coordinates / Resolution
22:56 - Defining Output Colors
25:31 - Using Textures
26:49 - Converting to Grayscale
28:31 - Image Masking
30:09 - Time Based Effects
33:27 - Green Screen Effect
41:49 - Drawing a Circle
52:02 - Spotlight Effect
55:12 - Complex Examples
56:36 - Using Shaders in SFML
1:04:49 - Outdated Project Information
1:06:10 - Shader Packs / Examples

Taught by

Dave Churchill

Reviews

Start your review of Introduction to Shaders - Lecture 18

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.