Skip to content

snorristurluson/vulkan-sprites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vulkan sprite rendering engine

The primary driver for this project is to learn to use Vulkan, but I also want to try some things in the overall architecture and infrastructure of a game engine.

Follow my blog for discussions about my learnings along the way.

The initial iteration of the renderer is based on the Vulkan tutorial found at https://vulkan-tutorial.com/ - I highly recommend it if you are new to Vulkan, and I've looked to Sascha Willems for reference as well.

Dependencies

Vulkan

https://vulkan.lunarg.com/

Install according to the instructions per platform and adjust the CMakeLists.txt file accordingly.

GLFW

On macOS:

brew install glfw --HEAD

glm

On Linux:

sudo apt install libglm-dev

stb_image

spdlog

On Linux:

sudo apt install libspdlog-dev

Running on Mac

VK_LAYER_PATH=~/vulkansdk-macos-1.1.82.0/macOS/etc/vulkan/explicit_layer.d
VK_ICD_FILENAMES=~/vulkansdk-macos-1.1.82.0/macOS/etc/vulkan/icd.d/MoltenVK_icd.json

Remember to do this for any target you want to run, including tests.

About

Sprite rendering with Vulkan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published