Home

Awesome

vulkan-examples-rs

Collection of Vulkan examples that I make to learn stuff in Rust using ash.

screenshot

Examples

You can run one of the following example.

# Powershell example (all scripts have a .sh version)

# Compile all glsl shaders to spir-v 1.4
.\scripts\compile_shaders.ps1

# Enable validation layers and set log level to debug
.\scripts\debug.ps1 <example>

# Compiles with --release and set log level to info
.\scripts\run.ps1 <example>

Controls

For examples with interactive camera you can move the camera with

You can alse press R to cycle through the performance information.

Requirements

All examples use Vulkan 1.3 and the following features:

Ray tracing examples use the following extensions and features:

RT is only enabled on examples using it, so other examples can run on hardware that does not support it.

Useful links