January 2014
Intermediate to advanced
430 pages
9h 51m
English
In this recipe we are going to take the quad and triangle renderers from the previous example and apply some texture using a shader resource view (SRV), a sampler state object, and changes to the shader program.
The final output from the example will look something like the following figure:

Textured triangle and quad
For this recipe, we will continue from where we left of in the Rendering primitives recipe.
There are two texture files included with the sample code that you will also need. Alternatively, you may use any BMP, JPG, PNG, or even DDS formats. For reference, the two textures used in this project ...
Read now
Unlock full access