From 055d70dc30e69ab2d3b929a6f7c0137b2235bc70 Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Sat, 16 Mar 2024 10:34:29 +0100 Subject: [PATCH] Documentation --- README.md | 8 ++++++-- .../raytracingpositionfetch/raytracingpositionfetch.cpp | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 15784101..7e7c3143 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ A comprehensive collection of open source C++ examples for [VulkanĀ®](https://ww ## Official Khronos Vulkan Samples -Khronos recently made an official Vulkan Samples repository available to the public ([press release](https://www.khronos.org/blog/vulkan-releases-unified-samples-repository?utm_source=Khronos%20Blog&utm_medium=Twitter&utm_campaign=Vulkan%20Repository)). +Khronos has made an official Vulkan Samples repository available to the public ([press release](https://www.khronos.org/blog/vulkan-releases-unified-samples-repository?utm_source=Khronos%20Blog&utm_medium=Twitter&utm_campaign=Vulkan%20Repository)). You can find this repository at https://github.com/KhronosGroup/Vulkan-Samples @@ -351,12 +351,16 @@ Uses an intersection shader for procedural geometry. Instead of using actual geo #### [Ray traced glTF](examples/raytracinggltf/) -Renders a textured glTF model using ray traycing instead of rasterization. Makes use of frame accumulation for transparency and anti aliasing. +Renders a textured glTF model using ray traying instead of rasterization. Makes use of frame accumulation for transparency and anti aliasing. #### [Ray query](examples/rayquery) Ray queries add acceleration structure intersection functionality to non ray tracing shader stages. This allows for combining ray tracing with rasterization. This example makes uses ray queries to add ray casted shadows to a rasterized sample in the fragment shader. +#### [Position fetch](examples/raytracingpositionfetch/) + +Uses the `VK_KHR_ray_tracing_position_fetch` extension to fetch vertex position data from the acceleration structure from within a shader, instead of having to manually unpack vertex information. + ### Headless Examples that run one-time tasks and don't make use of visual output (no window system integration). These can be run in environments where no user interface is available ([blog entry](https://www.saschawillems.de/tutorials/vulkan/headless_examples)). diff --git a/examples/raytracingpositionfetch/raytracingpositionfetch.cpp b/examples/raytracingpositionfetch/raytracingpositionfetch.cpp index d2bf0c00..21d6012f 100644 --- a/examples/raytracingpositionfetch/raytracingpositionfetch.cpp +++ b/examples/raytracingpositionfetch/raytracingpositionfetch.cpp @@ -1,7 +1,7 @@ /* * Vulkan Example - Using position fetch with hardware accelerated ray tracing * -* Shows how to usse the VK_KHR_ray_tracing_position_fetch extension to fetch the vertex positions in the shader from a hit triangle as stored in the acceleration structure +* Shows how to use the VK_KHR_ray_tracing_position_fetch extension to fetch the vertex positions in the shader from a hit triangle as stored in the acceleration structure * See https://www.khronos.org/blog/introducing-vulkan-ray-tracing-position-fetch-extension * * Copyright (C) 2024 by Sascha Willems - www.saschawillems.de