Use your business data to your advantage with the help of Syncfusion’s new data science offerings. Discover how a custom big data solution can provide your company with valuable predictions about key market trends.

HLSL Development Cookbook

Implement stunning 3D rendering techniques using the power of HLSL and DirectX 11

$29.99

$49.99

RRP $29.99

RRP $49.99

eBook

Print + eBook

Want this title & more?

$21.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849694209

Paperback224 pages

About This Book

Discover powerful rendering techniques utilizing HLSL and DirectX 11

Augment the visual impact of your projects whilst taking full advantage of the latest GPUs

Experience the practical side of 3D rendering with a comprehensive set of excellent demonstrations

Who This Book Is For

If you have some basic Direct3D knowledge and want to give your work some additional visual impact by utilizing advanced rendering techniques, then this book is for you. It is also ideal for those seeking to make the transition from DirectX 9 to DirectX 11, and those who want to implement powerful shaders with the High Level Shader Language (HLSL).

Table of Contents

Chapter 1: Forward Lighting

Introduction

Hemispheric ambient light

Directional light

Point light

Spot light

Capsule light

Projected texture – point light

Projected texture – spot light

Multiple light types in a single pass

Chapter 2: Deferred Shading

Introduction

GBuffer generation

GBuffer unpacking

Directional light

Point light

Capsule light

Spot light

Chapter 3: Shadow Mapping

Introduction

Spot light PCF shadows

Point light PCF shadows

Cascaded shadow maps

PCF with varying penumbra size

Visualizing shadow maps

Chapter 4: Postprocessing

Introduction

HDR rendering

Adaptation

Bloom

Distance depth of field

Bokeh

Chapter 5: Screen Space Effects

Introduction

Screen space ambient occlusion

Lens flare

Screen space reflections

Screen space Sun rays

Chapter 6: Environment Effects

Introduction

Dynamic decals

Distance/Height-based fog

Rain

What You Will Learn

Learn about different light sources in both forward and deferred implementations

Take your dynamic lighting to the next level with shadow map support

Discover a range of post processing effects like bloom and tone mapping

Implement 3D elements such as decals, rain, and more

Harness various screen space techniques that help augment the visual quality of your work

In Detail

3D graphics are becoming increasingly more realistic and sophisticated as the power of modern hardware improves. The High Level Shader Language (HLSL) allows you to harness the power of shaders within DirectX 11, so that you can push the boundaries of 3D rendering like never before.

HLSL Development Cookbook will provide you with a series of essential recipes to help you make the most out of different rendering techniques used within games and simulations using the DirectX 11 API.

This book is specifically designed to help build your understanding via practical example. This essential Cookbook has coverage ranging from industry-standard lighting techniques to more specialist post-processing implementations such as bloom and tone mapping. Explained in a clear yet concise manner, each recipe is also accompanied by superb examples with full documentation so that you can harness the power of HLSL for your own individual requirements.

Authors

Doron Feinstein

Doron Feinstein has been working as a graphics programmer over the past decade in various industries. Since he graduated his first degree in software engineering, he began his career working on various 3D simulation applications for military and medical use. Looking to fulfill his childhood dream, he moved to Scotland for his first job in the game industry at Realtime Worlds. Currently working at Rockstar Games as a Senior Graphics Programmer, he gets to work on the company’s latest titles for Xbox 360, PS3, and PC.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.