OpenGL Math Visualizer - 4 - Directional Lighting

Опубликовано: 17 Февраль 2026
на канале: Michael Grieco
1,168
20

In this video, we implement a simple lighting model to add to the perspective of our world. We go over how to implement directional light and how to get a simple normal vector from the sphere.

• Repo commit with material values: https://github.com/michaelg29/glmathv...

• In-Depth Lighting Tutorial:    • C++ OpenGL Tutorial - 16 - Light Maps/Type...  
• UBO Tutorial:    • C++ OpenGL Tutorial - 44 - UBO Class and A...  

• Website: https://michaelg29.github.io/
• Twitter:   / michaelgrieco10  
• Discord:   / discord  
• This Github Repo: https://github.com/michaelg29/glmathviz
• This Playlist:    • OpenGL Math Visualizer