HLSL and Pixel Shaders for XAML Developers
A Comprehensive Guide to Creating HLSL Pixel Shaders for Wpf and Silverlight Applications
- Paperback
75 pages
- Release Date
19 July 2012
Summary
Graphic Shaders are used throughout the game and movie industryto improve onscreen graphics. They are versatile, doing importanttasks like making computer rendered aliens look realistic,providing the ripples on a background lake or growing fur on thelatest Pixar monster. In the PC world, programmers are oftendelighted to find that shaders are nothing more than a miniatureprogram that is optimized to run on the computers GPU. Thishappiness fades when they start exploring the strange programmingmodel underlying shaders however. Because shaders are strungtogether in an unusual fashion and run on a massive parallelprocesser developers shouldn’t use their traditional OO orprocedural approach to writing code. Writing effective shadersrequires a mind shift regarding how to craft a useful algorithm.To top it off, shaders are written in a unfamiliar C-likelanguage. In the Microsoft DirectX world the dominant language isHigh Level Shader Language or HLSL.Silverlight and WPF support adding Pixel shaders to UI elements.For common shader scenarios (like motion blur and color effects)Microsoft includes a handful of prebuilt shaders in ExpressionBlend. These free shaders are a nice addition but will notsatisfy every shader scenario. Luckily, .NET provides customshaders to fill the gap. To create a custom shader a developermust learn and understand HLSL and how it fits into the XAMLworld. This book explains how to work with WPF/Silverlightshaders, from adding them to a project to placing them in thevisual tree. It also contains a complete tutorial showing thefacets of HLSL code that are important to the XAML developer.
Book Details
| ISBN-13: | 9781449319847 |
|---|---|
| ISBN-10: | 144931984X |
| Author: | Walt Ritscher |
| Publisher: | O'Reilly Media |
| Imprint: | O'Reilly Media |
| Format: | Paperback |
| Number of Pages: | 75 |
| Release Date: | 19 July 2012 |
| Weight: | 331g |
| Dimensions: | 11mm x 178mm x 233mm |
| Series: | Oreilly and Associate |

You Can Find This Book In
Walt Ritscher
Walt’s enthusiasm for crafting software interfaces blossomed early. Just a few days after discovering how to make pixels move around the screen of a borrowed computer he was devouring books on the topic of computer graphics and UI design. Now he travels the world speaking at software conferences and teaching a diverse portfolio of programming topics for corporate clients. On the consulting side he continues to work with customers like Microsoft, HP, Intel, and Intuit and enjoys being part of the Wintellect consultant group. Recently he has entered the video training market producing .NET titles for Lynda.com He writes for several publications including Code Magazine and TechTarget.com. His current UI obsession revolves around the Windows 8 Metro, Silverlight, Surface and WPF APIs. You can find his blog at blog.wpfwonderland.com. Walt is also a Microsoft MVP and author of the free Shazzam WPF Shader utility (shazzam-tool.com).
Returns
This item is eligible for simple returns within 30 days of delivery. Return shipping is the responsibility of the customer. See our returns policy for further details.