Skip to content
Scan a barcode
Scan
Paperback Real-Time Shader Programming (The Morgan Kaufmann Series in Computer Graphics) Book

ISBN: 1558608532

ISBN13: 9781558608535

Real-Time Shader Programming (The Morgan Kaufmann Series in Computer Graphics)

Now that PC users have entered the realm of programmable hardware, graphics programmers can create 3D images and animations comparable to those produced by RenderMan's procedural programs---but in... This description may be from another edition of this product.

Recommended

Format: Paperback

Temporarily Unavailable

1 person is interested in this title.

We receive 1 copy every 6 months.

Customer Reviews

3 ratings

A nice introduction to a complex subject

In "Real-Time Shader Programming", Ron Fosner describes the essential elements necessary for developing shaders in a very approachable full color book that spans just over 400 pages. The book includes a CD with a beta version ATI's RenderMonkey and coded examples of many of the shaders discussed in the text.Shaders are a relatively new option in the rendering pipeline. By taking explicit control over how vertices and pixels are processed by the graphics hardware, a virtually unlimited number of special effects are available to the programmer. Generally, custom lighting, coloring, or texture mapping are used to create a unique look for an application.Beginning with elementary vector math, the book moves quickly into lighting theory. The lighting chapter highlights the mathematical approximation of physically based lighting using the traditional ambient, specular, diffuse, and emissive colors in a scene. Representations for reflection and refraction are derived from Snell's Law, and Fresnel equations. Finally, non-photo realistic rendering (from cel shading, tonal art maps, and hatching) is covered through pictures and a wealth of external references. The chapter makes for an enjoyable read by providing an understandable background to lighting techniques to non-seasoned graphics programmers.Fosner describes how to set up the DirectX pipeline to use shaders. While he touches on some of the nuances you're likely to encounter, the DirectX section seemed a bit sparse compared to the earlier chapters. The DirectX setup calls specific to shaders were well documented, however the chapter didn't dwell on creating the pipeline.In the subsequent chapter, Fosner discusses several current shader creation and visualization tools. The chapter is relatively short in length perhaps due in part to the volatility and newness of cutting edge shader tools. While high level shader tools, like Nvidia's Cg or Microsoft's High Level Shader Language were briefly mentioned, the book instead focused on the shader language primitives. As such, it provided a sound fundamental shader approach that is universal to all higher-level shader implementations.Having the groundwork firmly in place, Fosner provides a wealth of shader examples. Starting with the minimal vertex shader, additional functionality is layered to build more complex shaders. Sample shaders are developed using the lighting equations presented earlier. While it may take a little time to digest some of the more sophisticated examples, like the cartoon shader, the text provides adequate descriptive detail coupled with helpful color pictures to make it easier.The final chapter provides a vertex and pixel command reference. Each command describes the supported shader version, usage, and a short example. The book covers shader implementations for both DirectX 8.x and DirectX 9. Differences between the two versions are noted throughout the sample code and reference section. When appropriate, additional

Excellent introduction to DirectX shaders

If you know very little about DirectX 8 or 9 shader programming this book is an excellent introduction. It is low level assembly only, no Cg or HLSL, but in my opinion you need to know the assembly programming to ensure the best performance of your shaders. The introductory material is good, covering basic things you should know, ambient, diffuse, specular, and Fresnel equations. The second section builds working shaders implementing these basic concepts. The third section is a shader assembler reference. IMO this book is well written and an easy read.

A good shader intro book

I picked up some of the other book on shaders for DX and it turned out to be a cookie cutter book. There was little explanation on what the shaders were DOING - just source code. I found that frustrating. This book gois into much more explanation of what a shader does and how you program them, so its good for someone leaning how to program shaders. The other book and the new Cg book are more if youre looking for cut and paste. This book did not cover hlsl since hlsl wasnt finished when the book was, but, oddly enough, it does talk about using DX9 and about the DX9 low level language.If you already know shaders or just want source code then look at the other books. This could have had more examples. It did have a big section on the mathematics of light which I found interesting.
Copyright © 2025 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured