Chapter 22. Using Render Targets for Effects
Until now, you've been rendering everything you've done directly to the back buffer. In the vast majority of cases, this is the behavior you want, but what if you want to render somewhere else? What if you want to take the scene you've just rendered and use that as a texture somewhere else, say on a video screen inside your level?
In Direct3D, you accomplish this goal through the use of render targets.
In this chapter, you'll learn
How to render a track and multiple karts
How to create and use render targets
How to implement a rear-view mirror
Get Beginning 3D Game Programming 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.