O'Reilly logo

Microsoft® XNA™ Unleashed: Graphics and Game Programming for Xbox 360 and Windows by Chad Carter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Advanced HLSL

IN THIS CHAPTER

In the last chapter we learned the basics of HLSL. In this chapter, we take those concepts further by doing vertex displacement in our vertex shaders and by doing postprocessing techniques in our pixel shaders.

Vertex displacement is simply changing the position of our vertices through our vertex shader. Postprocessing is the process of taking a completed (or partial) scene and rendering that scene to a texture. It then takes that texture and processes it with a pixel shader to make some interesting effects.

Vertex Displacement

We are going to create an interesting effect that will allow us to move our vertices around. Shaders are not only used to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required