Tessellation shaders are used to sample a cubic Bezier surface.

Source Code

...