January 2014
Intermediate to advanced
430 pages
9h 51m
English
In this recipe, we will update the constant buffers to accept the tessellation parameters, and update the vertex shader to output a structure for input into the hull shaders in the next few recipes in this chapter.
For this recipe, we can begin with any Direct3D project with an existing vertex shader, the PerObject and PerFrame constant buffers, and their C# counterparts in ConstantBuffers.cs.
The completed source code for this recipe can be found within the Ch05_01TessellationPrimitives project, contained within the companion source code.
We will first update our HLSL (High-level Shader Language) and C# structures, and then make a new vertex shader to use with the ...
Read now
Unlock full access