For C# .NET developers this is the ultimate cookbook for Direct3D rendering in PC games. Covering all the latest innovations, it teaches everything from debugging to character animation, supported throughout by illustrations and sample code.
- Learn and implement the advanced rendering techniques in Direct3D 11.1 and bring your 3D graphics project to life
- Study the source code and digital assets with a small rendering framework and explore the features of Direct3D 11.1
- A practical, example-driven, technical cookbook with numerous illustrations and example images to help demonstrate the techniques described
The latest 3D graphics cards bring us amazing visuals in the latest games, from Indie to AAA titles. This is made possible on Microsoft® platforms including PC, Xbox consoles, and mobile devices thanks to Direct3D a component of the DirectX API dedicated to exposing 3D graphics hardware to programmers. Microsoft DirectX is the graphics technology powering all of today's hottest games. The latest version DirectX 11features tessellation for film-like geometric detail, compute shaders for custom graphics effects, and improved multithreading for better hardware utilization. With it comes a number of fundamental game changing improvements to the way in which we render 3D graphics.
Direct3D Rendering Cookbook provides detailed .NET examples covering a wide range of advanced 3D rendering techniques available in Direct3D 11.1. With this book, you will learn how to use the new Visual Studio 2012 graphics content pipeline, how to perform character animation, how to use advanced hardware tessellation techniques, how to implement displacement mapping, perform image post-processing, and how to use compute shaders for general-purpose computing on GPUs.
After covering a few introductory topics about Direct3D 11.1 and working with the API using C# and SharpDX, we quickly ramp up to the implementation of a range of advanced rendering techniques, building upon the projects we create and the skills we learn in each subsequent chapter. Topics covered include using the new Visual Studio 2012 graphics content pipeline and graphics debugger, texture sampling, normal mapping, lighting and materials, loading meshes, character animation (vertex skinning), hardware tessellation, displacement mapping, using compute shaders for post-process effects, deferred rendering, and finally bringing all of this to Windows Store Apps for PC and mobile. After completing the recipes within Direct3D Rendering Cookbook, you will have an in-depth understanding of a range of advanced Direct3D rendering topics.
What you will learn from this book
- Set up a Direct3D application and perform real-time 3D rendering with C# and SharpDX
- Learn techniques for debugging your Direct3D application
- Render a 3D environment with lights, shapes, and materials
- Explore character animation using bones and vertex skinning
- Create additional surface detail using tessellation with displacement mapping and displacement decals
- Implement image post-processing tasks within compute shaders
- Use real-time deferred rendering techniques to implement improved shading for lighting and shadows
- Learn to Program the graphics pipeline with shaders using HLSL implemented by Shader Model 5
This is a practical cookbook that dives into the various methods of programming graphics with a focus on games. It is a perfect package of all the innovative and up-to-date 3D rendering techniques supported by numerous illustrations, strong sample code, and concise explanations.