blurrypiano / littleVulkanEngine

Code repo for video tutorial series teaching Vulkan and computer graphics
MIT License
829 stars 147 forks source link

Tutorial 26 - Specular Lighting #30

Closed blurrypiano closed 2 years ago

blurrypiano commented 2 years ago

Specular Lighting - Tutorial 26

Specular lighting represents shiny materials by modelling the reflection of light sources on the object. Shiny materials reflect light more strongly in the direction opposite the angle of incidence. This means that unlike diffuse lighting, the position of the camera/viewer now plays a role in the lighting calculation.

Paste Bin Links

Inverse View Matrix

Tutorial Links

View branch

View Files Changed

Video Tutorial

Further Reading and Video Resources

Chapter 11 of this great resource

Learn OpenGL - Basic Lighting