Skip to main content

Turning On the Lights

  • Chapter
Pro OpenGL ES for Android

Abstract

This chapter will cover one of the single biggest topics for OpenGL ES: the process of illuminating, shading, and coloring the virtual landscape. We touched on color in the previous chapter, but because it is so integral to both lighting and shading, we will cover it more in depth here.

You must be strong now. You must never give up. And when people [or code] make you cry and you are afraid of the dark, don’t forget the light is always there. -Author Unknown

Light is the first of painters. There is no object so foul that intense light will not make it beautiful. -Ralph Waldo Emerson

Everything’s shiny, Cap’n. Not to fret. -Kaylee Frye, Firefly

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Mike Smithwick and Mayank Verma

About this chapter

Cite this chapter

Smithwick, M., Verma, M. (2012). Turning On the Lights. In: Pro OpenGL ES for Android. Apress. https://doi.org/10.1007/978-1-4302-4003-7_4

Download citation

Publish with us

Policies and ethics