Chapter 2. BasicsThis chapter introduces the OpenGL Shading Language to get you started writing your own shaders as quickly as possible. When you finish reading this chapter, you should understand how programmability has been added to OpenGL and be ready to tackle the details of the shading language description in the next three chapters and the simple example in Chapter 6. After that, you can learn more details about the API that supports the shading language or explore the examples contained in the later chapters. |