Ray Query example: shader optimization Calling rayQueryProceedEXT in a loop can prevent certain shader optimizations. By setting the TerminateOnFirstHit and SkipAABB flags, there is no scenario where rayQueryProceedEXT will return true, hence the loop can be removed. This way the implementation has a guarantee that the traversal can be completed without returning control to the shader, which improves performance. |
||
|---|---|---|
| .. | ||
| shaders | ||
| README.md | ||
Getting the assets
Binary assets (models, textures, etc.) are not stored in this repository and need to be downloaded manually.
Downloading the assets
Option 1: Run the python script
Run the download_assets.py python script which will download the asset pack and unpacks it into the appropriate folder.
Option 2: Manual download
Download the asset pack from https://vulkan.gpuinfo.org/downloads/vulkan_asset_pack_gltf.zip and extract it in the data directory.