Skip to content
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.
/ sol-rs Public archive

Vulkan rendering sandbox for raytracing

Notifications You must be signed in to change notification settings

num3ric/sol-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

! To prevent work policy violations, this project is now archived. !

sol-rs ☀

sol-rs is a small rendering toolkit for Vulkan, with a focus on real-time raytracing (which is not currently available via other APIs such as WebGPU). It hosts convenience wrappers but also exposes ash directly. Tested on Windows/NVIDIA, but the non-raytracing samples also work on Mac via MoltenVK.

However, this remains a personal sandbox for learning and experimentation so use at your own risk!

Requirements

LunarG Vulkan SDK installation.

On Windows, setting a VULKAN_SDK environment variable to the 1.3.204.1 SDK installation folder should prevent the need for building shaderc from source. Otherwise, additional installations such as Ninja may be required. Please refer to the following instructions if you run into shaderc-related issues.

Examples

screenshot cargo run --release --example 5-pathtrace -- --model models/tunnel.gltf --sky

screenshot cargo run --release --example 5-pathtrace -- --model models/cornell.gltf

screenshot cargo run --release --example 4-ray-ao

screenshot cargo run --release --example 1-cube

References