Now that we have a good understanding of phong shading we can go about implementing the ambient lighting calculation. This is definitely the easiest part to implement since we are not dealing with any vector math yet.
Swift Game Engine Tutorial With Metal Playlist
• Swift Game Engine Tutorial With Metal...
Episode Source Code:
https://github.com/twohyjr/Metal-Game...
Become A Patron:
/ 2etime
Stride vs Size:
https://swiftunboxed.com/internals/si...
Keynote Presentation:
https://github.com/twohyjr/Metal-Game...
Awesome Lighting Explanations:
http://buildnewgames.com/lighting/
https://learnopengl.com/Lighting/Ligh...
Metal Specification Documentation:
https://developer.apple.com/metal/Met...
Discord:
Join me on Discord for discussions about Metal
/ discord
Affiliate Links:
Sweet Standing Desks: http://bit.ly/2XxH13m