Swift 3D Game Tutorial
23: Phong Ambient Shading | Swift Game Engine
Hide/Show description
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
https://www.youtube.com/watch?v=PcA-VAybgIQ&list=PLEXt1-oJUa4BVgjZt9tK2MhV_DW7PVDsg
Become A Patron:
https://www.patreon.com/2etime
I really do appreciate everyone in this community! Thank you all!
Stride vs Size:
https://swiftunboxed.com/internals/size-stride-alignment/
Source Code
https://github.com/twohyjr/Metal-Game-Engine-Tutorial/tree/master/Episode%20Project%20Files/Episode23.0_AmbientLighting
Keynote Presentation:
https://github.com/twohyjr/Metal-Game-Engine-Tutorial/tree/master/Helpful%20Files/KeyNote
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. I am always open to talk code :)
https://discord.gg/hKPBTbC
Sweet Standing Desks: http://bit.ly/2XxH13m





























