GAMES IN PROGRESS
Latest Videos
Home
/
Indie Game Developers
/
Sebastian Lague
/
I Tried Coding my own Graphics Library

I Tried Coding my own Graphics Library

27 min
My attempt at writing a little graphics and compute library with Vulkan. Links: Support my work (and get early access to new projects): https://www.patreon.com/SebastianLague Code: https://www.patreon.com/SebastianLague/posts/source-code-164801777 (currently in early access to patrons) Music: https://raw.githubusercontent.com/SebLague/Misc-Project-Info/refs/heads/main/Coding-Adventures/GraphicsLib.txt Learning Resources: https://www.howtovulkan.com/ https://www.khronos.org/blog/understanding-vulkan-synchronization Chapters: 00:00 Intro 00:53 Initialization and a Blank Window 02:56 Rendering Setup 07:08 Meshes, Buffers, Shaders 09:38 One Triangle Achieved! 14:16 Push Constants 14:48 3D Model and Perspective Projection 17:53 Instancing 19:48 Compute Shaders 23:00 API and Bindings 24:13 Testing and Fixing 26:36 Outro