Skip to content

An extremely basic ray tracer that uses only compute shaders with the Vulkan graphics API.

Notifications You must be signed in to change notification settings

RodEsp/rusty-ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Ray Tracer

This project was chosen as an exercise primarily to learn Rust, but it quickly turned into an exercise in learning about Vulkan and compute shaders. It is intended to be a voxel ray tracer that only uses compute shaders but as of right now it only renders spheres using a standard line-sphere intersection equation and some rudamentary lighting calculations. I hope to expand it in the future to allow a compute shader to take a voxel point cloud and generate an image based on ray-voxel intersections.

I wrote a blog post about the first hurdle I encountered during its development, which had nothing to do with Rust, and everything to do with Vulkan compute shaders.

image

About

An extremely basic ray tracer that uses only compute shaders with the Vulkan graphics API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages