Skip to main content

Your First Lighting Model

  • Chapter
  • First Online:
Practical Shader Development
  • 1019 Accesses

Abstract

Diffuse lighting is great for rendering matte (nonshiny) objects, but we need a few more tools in our toolbox if we want to be able to properly render all the objects that a game might have. For example, plastics, metals, mirrors, and wet surfaces are all impossible to render well with just diffuse lighting. Instead, we need to learn some new lighting math to handle shininess. Almost nothing is entirely shiny, or entirely matte, so we’ll have to combine our diffuse lighting calculations with these new ones in order to be able to render everything well.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Kyle Halladay

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Halladay, K. (2019). Your First Lighting Model. In: Practical Shader Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4457-9_9

Download citation

Publish with us

Policies and ethics