CHAPTER 8

SHADER REFERENCE

THOMAS A. EDISON

Results! Why, man, I have gotten a lot of results. I know several thousand things that won’t work.

Chapter 8 contains detailed explanations about the vertex and pixel shader registers, instructions, macros, and other operations that can be programmed into shaders. There’s a general discussion on coding style and other issues that are common to both pixel shaders and vertex shaders. Note that there’s a section in this chapter that discusses new and updated shader features by DirectX release, which compliments the features and changes by shader version that can be found in the introduction to each of the vertex and pixel reference collections.

In addition, each vertex instruction contains C-like ...

Get Real-Time Shader Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.