Home > Articles > Programming > Graphic Programming

  • Print
  • + Share This
This chapter is from the book

Summary

In this chapter, you wrote your first HLSL shaders! You learned a bit about the FX file format, constant buffers, and render states. You also began to explore HLSL syntax, including vector and matrix data types (such as float3, float4, and float4×4) and user-defined structs. And you put all this together within NVIDIA FX Composer to produce your first rendered output. The work you’ve accomplished in this chapter serves as a foundation for the rest of the shaders in Part II, “Shader Authoring with HLSL.”

  • + Share This
  • 🔖 Save To Your Account