Chapter 17. Advanced Texturing Techniques

IN THIS CHAPTER

In this chapter we are going to light our scene using more realistic lights. We are also going to discuss some ways we can create better texturing effects to provide more realism in our games.

3D Lighting

Before we can really get down to business on some of the ways we can texture our objects to make them appear realistic, we need to discuss lighting in more detail. The only way we can get a realistic effect on our textures is to have lights shining on them appropriately. Some of the common lighting algorithms are ambient lighting, directional lighting, point lights, spot lights, and specular lighting. We discuss ...

Get Microsoft® XNA™ Unleashed: Graphics and Game Programming for Xbox 360 and Windows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.