This is an excerpt from the book, Mastering C++ Game Development written by Mickey Macdonald and published by Packt Publishing. In this excerpt, Mickey discusses how to write shaders for lighting and ...