HLSL and Pixel Shaders for XAML Developers

Pixel shaders are some of the more powerful graphic tools available for XAML programmers, but shader development bears little resemblance to traditional .NET programming. With this hands-on book, you’ll not only discover how to use existing shaders in your Windows Presentation Foundation (WPF) and Silverlight applications, you’ll also learn how create your own effects with XAML and Microsoft’s HLSL shading language.

In the process, you’ll write, compile, and test custom XAML shaders with the Shazzam Shader Editor, a free utility developed by author Walt Ritscher. The book includes XAML and C# sample code, and Shazzam contains all of the sample shaders discussed.

  • Learn how shaders help you extend the GPU’s rendering capabilities
  • Explore prevailing shader types, such as color modification, blurring, and spatial transformation
  • Get a quick tour of the shader features, and use pre-built effects on image elements in your application
  • Examine the XAML ShaderEffect class to understand how WPF and Silverlight use shaders
  • Learn about the shader-specific tools available in Visual Studio and Expression Blend
  • Get up to speed on HLSL basics and learn how to create a variety of graphics effects

Table of Contents
Chapter 1. Shader 101
Chapter 2. Getting Started
Chapter 3. Commonplace Pixel Shaders
Chapter 4. How WPF and Silverlight Use Shaders
Chapter 5. Using Expression Blend and Visual Studio with Shaders
Chapter 6. Using the Shazzam Shader Editor
Chapter 7. HLSL in Detail
Chapter 8. The Zen of Shader Programming

Appendix A. Resources
Appendix B. Shazzam Settings

Book Details

  • Paperback: 204 pages
  • Publisher: O’Reilly Media (July 2012)
  • Language: English
  • ISBN-10: 144931984X
  • ISBN-13: 978-1449319847
Download [32.3 MiB]

You may also like...

Leave a Reply