13.12.2012 Views

ShaderX Shader Programming Tips & Tricks With DirectX 9

ShaderX Shader Programming Tips & Tricks With DirectX 9

ShaderX Shader Programming Tips & Tricks With DirectX 9

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

Preface vii<br />

About the Authors ix<br />

Introduction xix<br />

Section I—Geometry Manipulation <strong>Tricks</strong> 1<br />

Using Vertex <strong>Shader</strong>s for Geometry Compression 3<br />

Dean Calver<br />

Using Lookup Tables in Vertex <strong>Shader</strong>s 13<br />

Carsten Wenzel<br />

Terrain Geomorphing in the Vertex <strong>Shader</strong> 18<br />

Daniel Wagner<br />

3D Planets on the GPU 33<br />

Jesse Laeuchli<br />

Cloth Animation with Pixel and Vertex <strong>Shader</strong> 3.0 40<br />

Kristof Beets<br />

Collision <strong>Shader</strong>s 58<br />

Takashi Imagire<br />

Displacement Mapping 73<br />

Tom Forsyth<br />

Section II — Rendering Techniques 87<br />

Rendering Objects as Thick Volumes 89<br />

Greg James<br />

Screen-aligned Particles with Minimal VertexBuffer Locking 107<br />

O’dell Hicks<br />

Hemisphere Lighting with Radiosity Maps 113<br />

Shawn Hargreaves<br />

iii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!