57 lines
2.2 KiB
HTML
57 lines
2.2 KiB
HTML
<meta charset="utf-8">
|
|
|
|
# Environment Setup
|
|
|
|
To get support for `VK_KHR_ray_tracing`, please install an [Vulkan NVIDIA driver](https://developer.nvidia.com/vulkan-driver)
|
|
with version 442.81 or later, and the [Vulkan SDK](http://vulkan.lunarg.com/sdk/home) version 1.2.136.0 or later.
|
|
|
|
This tutorial is a modification of [`ray_tracing__simple`](https://github.com/nvpro-samples/vk_raytracing_tutorial/tree/master/ray_tracing__simple), which is the result of the ray tracing tutorial.
|
|
All following instructions are based on the modification of this project.
|
|
|
|
Besides the current repository, you will also need to clone or download the following repositories:
|
|
|
|
* [shared_sources](https://github.com/nvpro-samples/shared_sources): The primary framework that all samples depend on.
|
|
* [shared_external](https://github.com/nvpro-samples/shared_external): Third party libraries that are provided pre-compiled, mostly for Windows x64 / MSVC.
|
|
|
|
The directory structure should be looking like:
|
|
|
|
**********************************************************
|
|
* \
|
|
* |
|
|
* +-- 📂 shared_external
|
|
* |
|
|
* +-- 📂 shared_sources
|
|
* |
|
|
* +-- 📂 vk_raytracing_tutorial
|
|
* | |
|
|
* | +-- 📂 ray_tracing__simple (<-- Start here)
|
|
* | |
|
|
* | +-- 📂 ray_tracing_...
|
|
* | ⋮
|
|
* |
|
|
* ⋮
|
|
**********************************************************
|
|
|
|
|
|
|
|
!!! Warning
|
|
**Run CMake** in vk_raytracing_tutorial.
|
|
|
|
## Beta Installation
|
|
|
|
If you are in the Beta period
|
|
|
|
* Latest driver: https://developer.nvidia.com/vulkan-driver
|
|
* Latest Vulkan headers: https://github.com/KhronosGroup/Vulkan-Headers
|
|
* When running CMake, modify VULKAN > VULKAN_HEADERS_OVERRIDE_INCLUDE_DIR to the path to beta vulkan headers.
|
|
Ex. under C:\Vulkan\Beta, copy the folder vulkan\ which contains all headers.
|
|
VULKAN_HEADERS_OVERRIDE_INCLUDE_DIR should point to C:\Vulkan\Beta
|
|
|
|
|
|
<!-- Markdeep: -->
|
|
<link rel="stylesheet" href="vkrt_tutorial.css?">
|
|
<script> window.markdeepOptions = { tocStyle: "medium" };</script>
|
|
<script src="https://developer.nvidia.com/sites/default/files/akamai/gameworks/whitepapers/markdeep.min.js" charset="utf-8"></script>
|
|
<script>
|
|
window.alreadyProcessedMarkdeep || (document.body.style.visibility = "visible")
|
|
</script>
|