Shader Metaprogramming

November 19th, 2002

This paper describes the use of standard C++ to define a high-level shading language directly in the API. The language is nearly indistinguishable from a special-purpose shading language, yet it simplifies implementation, and permits more direct interaction with the specification of textures, parameters, and attributes. (Shader Metaprogramming. Michael D. McCool, Zheng Qin, and Tiberiu S. Popa. SIGGRAPH/Eurographics Graphics Hardware Workshop, September 2-3, 2002, Saarbruecken, Germany, pp. 57-68.)

Leave a Comment