PacktLib: HLSL Development Cookbook

HLSL Development Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

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

Deferred Shading

Introduction

GBuffer generation

GBuffer unpacking

Directional light

Point light

Capsule light

Spot light

Shadow Mapping

Introduction

Spot light PCF shadows

Point light PCF shadows

Cascaded shadow maps

PCF with varying penumbra size

Visualizing shadow maps

Postprocessing

Introduction

HDR rendering

Adaptation

Bloom

Distance depth of field

Bokeh

Screen Space Effects

Introduction

Screen space ambient occlusion

Lens flare

Screen space reflections

Screen space Sun rays

Environment Effects

Introduction

Dynamic decals

Distance/Height-based fog

Rain

Index