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.
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 ...