The high-level shader language (HLSL) Workshop is a set of tutorials that make it easy to learn how to generate HLSL shaders.
These tutorials are .fx files that offer a step-by-step approach to learning how to use vertex, pixel, and texture shaders in HLSL to create the following functionality:
While running these tutorials, you may find it helpful to know how to launch the shader debugger to interactively debug your shaders. Here is one additional tutorial that will show you how to launch the debugger and start your debug session: