Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
The Modern Vulkan Cookbook

You're reading from  The Modern Vulkan Cookbook

Product type Book
Published in Apr 2024
Publisher Packt
ISBN-13 9781803239989
Pages 334 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Preetish Kakkar Preetish Kakkar
Profile icon Preetish Kakkar
Mauricio Maurer Mauricio Maurer
Profile icon Mauricio Maurer
View More author details

Table of Contents (12) Chapters

Preface 1. Chapter 1: Vulkan Core Concepts 2. Chapter 2: Working with Modern Vulkan 3. Chapter 3: Implementing GPU-Driven Rendering 4. Chapter 4: Exploring Techniques for Lighting, Shading, and Shadows 5. Chapter 5: Deciphering Order-Independent Transparency 6. Chapter 6: Anti-Aliasing Techniques 7. Chapter 7: Ray Tracing and Hybrid Rendering 8. Chapter 8: Extended Reality with OpenXR 9. Chapter 9: Debugging and Performance Measurement Techniques 10. Index 11. Other Books You May Enjoy

Preface

This book is designed for experienced computer graphics software engineers who might be well versed in older graphics APIs such as OpenGL and DirectX 10 but are relatively new to modern graphics APIs. Like you, we found ourselves needing to learn Vulkan but struggling to implement practical solutions because we didn’t understand the basic concepts of Vulkan, which is, in itself, a complicated and vast API. The goal of this book is to introduce you to the essential concepts of the API and then walk you through hand-picked, tried-and-true algorithms that show you the new and nuanced aspects of Vulkan in each recipe.

This book is divided into five parts and covers, in this order, the following:

  • Basic Vulkan concepts, how and why to use them, and how they fit into the bigger picture of writing an application using the Vulkan API
  • General graphics algorithms implemented using Vulkan, including their features and how they can be used to achieve all sorts of tasks relevant to graphics applications
  • Using Vulkan to build a GPU ray tracer and a hybrid renderer
  • How to use Vulkan and OpenXR to write applications for the incredible new world of VR, MR, and AR
  • Ways to debug and profile your Vulkan implementation

There are many resources that cover the first part of what this book explores, but in this book, we offer a two-part story that progressively helps you understand the basic Vulkan concepts by providing easy and practical examples. The subsequent parts present implementations that work and can be used as a reference for the implementation of your own graphics engine.

The main goal of the repository provided with this book was not to achieve the highest performance, find clever ways to implement things, or even implement the shiniest new algorithm shown at last year’s GDC or SIGGRAPH. It was simplicity and completeness. We offer tips and tricks on how some Vulkan features can and/or must be used, and most recipes have been tested and debugged and provide you with a self-contained working solution that you can improve and use in your own code base. Each recipe is its own executable and can be inspected independently from the others, making them easy to read. That also makes it easy to understand all the details of each algorithm from beginning to end.

Vulkan is the future de-facto graphics API for all devices and types of applications. It’s a mature, feature-rich, and maintained API, supported by all GPU vendors, operating systems, frameworks, and languages. If you intend to write graphics applications or write one that uses only the compute facilities of Vulkan, getting to know the API is a must, and you need to learn it right now!

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}