Diffuse Lighting on CPU

Streamed Live on Twitch: https://twitch.tv/tsoding
Enable Subtitles for Twitch Chat

Playlist: https://www.youtube.com/playlist?list=PLpM-Dvs8t0VaOBDp6cVRLBScgSJ2L8blq

Chapters:
– 00: 00: 00 – Intro
– 00: 05: 37 – Diffuse
– 00: 21: 48 – dot product study
– 00: 41: 06 – Back to Diffuse
– 00: 51: 32 – DIFFUSE ACHIEVED!!1
– 01: 07: 55 – What to do next
– 01: 21: 25 – Specular
– 01: 56: 17 – SPECULAR ACHIEVED??!
– 02: 02: 41 – Footnote

References:
https://learnopengl.com/Lighting/Basic-Lighting
https://github.com/tsoding/la
https://en.wikipedia.org/wiki/Dot_product
https://registry.khronos.org/OpenGL-Refpages/gl4/html/reflect.xhtml
– The model of Penger: https://github.com/Max-Kawula/penger-obj

Topic: Studying Phong Lighting model. Fifth episode of the long running series on making a software rendered 3D game.

Twitch Chat in Subtitles generated by: https://github.com/kam1k4dze/subchat

Support:
https://github.com/tsoding/donate#support-tsoding