procedural-3d-engine/data
JoseEmilio-ARM 3394928112
Update scene.frag
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.
2022-04-07 15:35:38 +01:00
..
shaders Update scene.frag 2022-04-07 15:35:38 +01:00
README.md Chrome complains when the link is insecure 2021-10-08 01:42:35 +01:00

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.