O'Reilly logo

DirectX 11.1 Game Programming by Pooya Eimandar

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

Post-processing

A post-processor takes in an image and runs some techniques on that image, such as blurring, blooming, negative, and so on. Performing the post-processing for rendering a scene is required to increase the quality of the output presented to the user.

In this section, we are going to introduce an approach that will show you where to use both C++ AMP and Compute Shader to implement some post-processing techniques in our framework.

Implementing post-processing using C++ AMP

Open the Post Processing project from the source code. Open the Quad.cpp file from the Graphics/Models folder and find the definition of the Load method of this class; we will try to apply a post-process on the texture of the quad.

We need to create an empty texture ...

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