Lighting and Shading

In this chapter, we will cover the following recipes:

  • Shading with multiple positional lights
  • Shading with a directional light source
  • Using per-fragment shading for improved realism
  • The Blinn-Phong reflection model
  • Simulating a spotlight
  • Creating a cartoon shading effect
  • Simulating fog
  • A physically-based reflection model
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.156.212