Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Vulkan Cookbook
  • Toc
  • feedback
Vulkan Cookbook

Vulkan Cookbook

By : Lapinski
2.9 (19)
close
Vulkan Cookbook

Vulkan Cookbook

2.9 (19)
By: Lapinski

Overview of this book

Vulkan is the next generation graphics API released by the Khronos group. It is expected to be the successor to OpenGL and OpenGL ES, which it shares some similarities with such as its cross-platform capabilities, programmed pipeline stages, or nomenclature. Vulkan is a low-level API that gives developers much more control over the hardware, but also adds new responsibilities such as explicit memory and resources management. With it, though, Vulkan is expected to be much faster. This book is your guide to understanding Vulkan through a series of recipes. We start off by teaching you how to create instances in Vulkan and choose the device on which operations will be performed. You will then explore more complex topics such as command buffers, resources and memory management, pipelines, GLSL shaders, render passes, and more. Gradually, the book moves on to teach you advanced rendering techniques, how to draw 3D scenes, and how to improve the performance of your applications. By the end of the book, you will be familiar with the latest advanced techniques implemented with the Vulkan API, which can be used on a wide range of platforms.
Table of Contents (13 chapters)
close

Drawing a reflective and refractive geometry using cubemaps

In real-life, transparent objects both transmit light rays, and also reflect them. If an object's surface is viewed from high angles, we see more light being reflected. Looking at an object's surface more directly, we see more light being transmitted through the object. Simulating such an effect may generate very plausible results. In this recipe, we will see how to render a geometry that is both refractive and reflective.

An example of an image generated with this recipe looks like:

Getting ready

Cubemaps are textures with images covering six sides of a cube. They usually store the view of a scene from a given position. The most common use for cubemaps are skyboxes. They are also handy when we...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete