See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.

14 used & new from $8.50

Have one to sell? Sell yours here
 
 
Direct3D ShaderX: Vertex and Pixel Shader Tips and Tricks with CDROM
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Direct3D ShaderX: Vertex and Pixel Shader Tips and Tricks with CDROM (Paperback)

by Wolfgang F. Engel (Author) "This introduction covers the fundamentals of vertex shader and pixel shader programming..." (more)
Key Phrases: shader assembler, map texld, vertex shader, Shader Studio, Chris Brennan, Studio Max (more...)
3.8 out of 5 stars See all reviews (10 customer reviews)


Available from these sellers.


5 new from $39.90 9 used from $8.50

Customers Who Bought This Item Also Bought

ShaderX2: Shader Programming Tips and Tricks with DirectX 9.0

ShaderX2: Shader Programming Tips and Tricks with DirectX 9.0

by Wolfgang F. Engel
ShaderX2: Introductions and Tutorials with DirectX 9.0

ShaderX2: Introductions and Tutorials with DirectX 9.0

by Wolfgang F. Engel
ShaderX3: Advanced Rendering with DirectX and OpenGL (Shaderx Series)

ShaderX3: Advanced Rendering with DirectX and OpenGL (Shaderx Series)

by Wolfgang Engel
4.8 out of 5 stars (4)  $41.97
ShaderX4: Advanced Rendering Techniques (Graphics Series)

ShaderX4: Advanced Rendering Techniques (Graphics Series)

by Wolfgang Engel
ShaderX6: Advanced Rendering Techniques

ShaderX6: Advanced Rendering Techniques

by Wolfgang Engel
$37.79
Explore similar items

Editorial Reviews

Product Description
Vertex and pixel shader programming allows graphics and game developers to create photorealistic graphics on the personal computer for the first time. And with DirectX, programmers have access to an assembly language interface to the transformation and lighting hardware (vertex shaders) and the pixel pipeline (pixel shaders). Direct3D ShaderX begins with an introduction to vertex and pixel shader programming and moves on to a wide array of specialized shader tricks contributed by 27 experts in game and graphics programming. These range from character animation and lighting to photorealistic faces and non-photorealistic rendering. Special effects shaders are also presented, including those for such effects as bubbles, rippling water, animated grass, and particle flows.

About the Author
Wolfgang F. Engel has been addicted to game programming for more than 12 years. Since the early betas of DirectX 8, he has focused on vertex and pixel shader programming.He is the author of Beginning Direct3D Game Programming and two upcoming books on Direct3D, and conducts tutorials on Direct3D from all over the world.

Product Details

  • Paperback: 500 pages
  • Publisher: Wordware Publishing, Inc. (June 30, 2002)
  • Language: English
  • ISBN-10: 1556220413
  • ISBN-13: 978-1556220418
  • Product Dimensions: 9.3 x 7.6 x 1.5 inches
  • Shipping Weight: 2.5 pounds
  • Average Customer Review: 3.8 out of 5 stars See all reviews (10 customer reviews)
  • Amazon.com Sales Rank: #714,167 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #34 in  Books > Computers & Internet > Programming > Graphics & Multimedia > DirectX

Inside This Book (learn more)



Books on Related Topics (learn more)
 
Real-Time Rendering by Tomas Akenine-Moller
Visualization Handbook by Christopher R. Johnson
 

What Do Customers Ultimately Buy After Viewing This Item?

Direct3D ShaderX: Vertex and Pixel Shader Tips and Tricks with CDROM
56% buy the item featured on this page:
Direct3D ShaderX: Vertex and Pixel Shader Tips and Tricks with CDROM 3.8 out of 5 stars (10)
Shaders for Game Programmers and Artists (Premier Press Game Development)
13% buy
Shaders for Game Programmers and Artists (Premier Press Game Development) 4.6 out of 5 stars (7)
$26.39
ShaderX7: Advanced Rendering Techniques
12% buy
ShaderX7: Advanced Rendering Techniques
$37.79
Game Programming Gems 6 (Book & CD-ROM) (Game Development Series)
9% buy
Game Programming Gems 6 (Book & CD-ROM) (Game Development Series) 4.3 out of 5 stars (3)
$44.07

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

10 Reviews
5 star:
 (5)
4 star:
 (2)
3 star:    (0)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (10 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
18 of 18 people found the following review helpful:
5.0 out of 5 stars Shader at its Best, September 8, 2002
I read most of the chapters of this book so far and I must say this is the best book I have ever seen on effects programming. It was much easier for me to understand specific techniques by reading a real text instead of flipping through numerous power point slides.

Although I have done some work with shaders before, I found Wolfgang's introduction at the beginning of the book very useful.

One of my favourite chapters is Dean Calver's chapter "Vertex Decompression in a Shader". Using this technique is a must to save valuable memory bandwidth. I think this chapter alone is worth the money to buy the book. I can't name all the excellent articles here, but I want to highlight a few:

Per-Pixel lighting for a skinned mesh is not trivial. You can find a great explanation of this in "Character Animation with Direct3D Vertex Shader" by David Gosselin. Additionally this article shows you how to combine keyframe animation with a skeleton based animation, which might be useful to combine an animated face (keyframe animation) with a skeleton based animation of the body (this seems to be used in a few upcoming games).

Kim Pallister explains optimization techniques, that helps you to optimize your shaders so that they run on older hardware. This techiques are also useful on the newest hardware.

Jason L. Mitchells chapter on Image processing gives you a lot of ground to think about post-processing shaders, which are useful to get a look like a 50's TV set or to get a heat signature. He shows numerous ways to influence the overall look and feel of your game by using filter, egde detection and mathematical morphollogy.

One of the very handy tips is written by Steffen Bendel. He shows how to smooth fonts in a very simple and efficient way on pixel shader hardware. This is very useful for displaying fonts. You can implement this feature in minutes in your engine. Steffen's chapter "Smooth Lighting with ps.1.4" shows one of the most interesting ways to improve lighting quality in a game engine.

Kenneth Hurley's chapter "Photorealistic Faces with Vertex and Pixel Shaders" shows step-by-step, how to prepare art in a way, that the result looks photorealistic and it explains each line in the source code needed to produce photo realistic faces with the help of vertex and pixel shaders in real-time. The article comes with the source of the necessary tools (diffuse cube map generator, a texture mapping cylindrical wrapper (MAX Plugin)) and an example program. Kenneth shows how to achieve this effect in 2 passes on multitexturing capable hardware by using sphere maps.

Getting into the field of "Non-Photorealistic Rendering with Vertex and Pixel Shaders" is not trivial. Blockbusters like MotoGP, Wreckless, Cel Damage, Jet Set Radio Future show how non-photorealistic rendering can influence the atmosphere in a game. Jason L. Mitchell and Drew Card gives you a detailed explanation on how to do these kind of techniques in real-time.

A collection of very useful "Texture Perturbation Effects" is shown by John Isidoro, Guennadi Riguer, and Chris Brennan from ATI. They show how to produce clouds, fire, and glass in a very efficient way in the pixel shader.

The chapters on "Rendering Ocean Water", "Rippling Reflective and Refractive Water", "Chrystal/Candy Shader" and "Bubble Shader" show some of the neat tricks used in the ATI nature demo. The example programs didn't make it into the book, but you can get them with source now from the ATI web-site.

Another one of my favourite articles is the one written by Philippe Beaudoin and Juan Guardado "A Non-Integer Power Function on the Pixel Shader". This article deals with the lack of color precision on first generation shader hardware. It shows a way how to overcome this problem by using a cool algorithm.

Ádám Moravánszky shows how to use bump maps together with BRDF rendering. If you ever thought about implementing this technique, you can see why Ádám is one of the shader wizards.

Using 3D textures to store data for games is a technique that is getting more and more common with newer hardware. Evan Hart shows how to use 3D textures in an efficient way in games.

Martin Kraus is a member of the Visualization and Interactive Systems Group at the University of Stuttgart in Germany. This group developed a bunch of new techniques in volume graphics. He shows some very nice examples on what you can do with 3D textures on current hardware. It is interesting to read about their advanded techniques to use 3D textures very efficiently.

It is not a trivial task to design an efficient graphics engine, that uses shaders to show breath-taking visuals. Ingo Frick the technical director of Massive Development explains in "Visualization with the Krass Engine", how they designed the Krass engine to get an efficient shader implementation. This engine is used in several upcoming european game titles (Aquanox Revelation, Spellforce et all.).

The last chapter by Bart Sekura shows, how to build up a complete shader driven graphics engine, that is capable to read in Quake 3 and Return to Castle Wolfenstein levels and to display them. You can find the full source with a thorough explanation in this book.

I would like to recommend this book to everyone, who is interested in real-time graphics programming...

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
19 of 22 people found the following review helpful:
1.0 out of 5 stars Information With No Application, August 26, 2003
By Robert Mobbs (Toronto, ON, Canada) - See all my reviews
I'm surprised that this book is ranked so well, I imagine most people simply buy it and never use it (a common problem with game developer books).

The problem with this particular book is that a bunch of ideas are presented, but very rarely are they worked through. For example there is an article on rendering ocean water. The shader is pulled apart (somewhat) in the short article, but that's it. There is no source code on the CD for this or many of the other chapters. The shader is written in an undocumented HLSL. And there is no excerpt showing how the constant registers / vertices are passed! So you end up with explanations like:
// c14 - { waveDirX0, waveDirX1, waveDirX2, waveDirX3 }
Which is 100% useless. There is no explanation of how the wave direction parameters are generated or updated. Certainly one can do further research to solve problems like this, but at that point the book has no use.

The use of a non-standard HLSL is perhaps the most aggravating part of the book. It's bad enough that we have to deal with CG, DX9 FX, VSH, PSH, and all that. But to introduce a fourth-party API, which isn't even very well covered - that's criminal.

I applaud the idea of collecting a bunch of shaders into a book for examples. But the authors should have made the minimal commitment of using the same API and documenting the data flow to the shaders.

A very disappointing purchase.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 7 people found the following review helpful:
5.0 out of 5 stars This book is great for starters and pros!, April 3, 2003
Shaders are the direction of real time graphics programming for games and other applications. They were introduced in their first versions with DX8 hardware like the GeForce3 and the Radeon 8500 and are continouisly extended in further version of hardware and software like in the new DX9 class of hardware.
It is industry wide consensus that shaders are the way to get cool graphics in realtime games. But there has always been a lack of good documentation about what shaders are and their possibilities. This book was made to address it. It is designed to handle the DX8 API way of shaders together with lots of DX8 samples but the principles apply to OpenGL shader programming also.

The book is splittet into two parts.

The first part is a thorough introduction about vertex and pixel shaders written by editor Wolfgang Engel. It explains the reasoning behind the shaders, the definitions of the virtual machines, and all assembler commands available. For each type of shaders there is also an introductionary example section for getting first successful shader programs running. It is well written with lots of information.

The second part is a collection of shader gems - short articles by differenct authors. Among the authors are people from developer relations from nVidia, Matrox and ATI as well as graphics programmers from inside the gaming industry. These authors have lots of experience programming shaders and they show in short sections what's possible and how to get there.

This book is standing in my bookshelf and in the bookshelves of a lot of professional developers worldwide.

I highly recommend buying it.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars old but still relevant
The best part of the book is the article by Dean Calver on vertex compression. Most of the other material are good practial tricks on shaders plus tutorials. Read more
Published on May 12, 2007 by Manchor Ko

2.0 out of 5 stars Very poorly organized
This is a very poorly put together book. It's organized as a series of small articles, but the article sizes vary widely and many of them contradict others. ... Read more
Published on March 13, 2003 by Joe Ludwig

5.0 out of 5 stars An excellent compilation of useful shaders
I found this book to be an excellent reference for state-of-the-art vertex and pixel shaders. It's well organized, and contains many useful solutions for game developers.
Published on September 13, 2002 by Michael Booth

5.0 out of 5 stars Shader Programming is the Future
If you want to start shader programming or if you have still some experience in shader programming this book is for you.
The stuff presented here is absolutely cutting-edge. Read more
Published on September 13, 2002

2.0 out of 5 stars VERY disappointing ...
When I purchased this book I didn't have any high expectations about the introductory chapter or the vertex shaders chapter but I was really looking forward for the Pixel shaders... Read more
Published on August 22, 2002 by Eran Kampf

4.0 out of 5 stars Direct3D ShaderX FOR RADEON 8500 !!
I am french and I could not find Direct3D ShaderX on Amazon.fr, so I went on Amazon.com and I was very excited to receive my Direct3D ShaderX book ! Read more
Published on August 7, 2002 by Sebb

5.0 out of 5 stars I wish this was out a year ago!
I have read just about every presentation, white paper, and web page there is on vertex and pixel shaders. Read more
Published on July 10, 2002 by JD

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 4 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Have a shopping question?
Try askville. It's free!
Get answers from real people in areas like health, books, parenting, relationships



 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Summer Reading for Kids & Teens

Summer Reading for Kids and Teens
Discover everything from beach reads and board books to teen romance and action-adventure series in Summer Reading for Kids & Teens. And, check off the kids' required reading lists in our Summer School Reading Store.
 

Free Shipping on Marpac SleepMate

Marpac Sleep Mate
Sleep tight with the Marpac SleepMate white noise machine. It's perfect for restless sleepers, children, students, apartment residents, and others. Best of all, it ships for free.

Shop now

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates