Graphics Reference
In-Depth Information
21. In the preceding code,
active*Tessellator
is one of the applicable
integer
,
pow2
hull shaders. The completed project maps keys from
F1
to
F4
to the different
partitioning types. Compiling and running the application will produce results similar
to those shown in the following sequence of figures:
Examples of each of the partitioning methods with varying tessellation factors. Applying a tessellation
factor of 0 will cull the primitive, while setting the [maxtessfactor] attribute of the hull shader will limit the
maximum tessellation factor.