MENU

Fun & Interesting

VULKAN: From 2D to 3D // C++ 3D Multiplayer Game From Scratch // LIVE TUTORIAL

The Cherno 24,417 lượt xem 5 days ago
Video Not Working? Fix It Now

To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/TheCherno . You’ll also get 20% off an annual premium subscription.

Support ► https://patreon.com/thecherno
Discord ► https://discord.gg/thecherno
Instagram ► https://instagram.com/thecherno
Twitter ► https://twitter.com/thecherno

🔗 LINKS
Cubed ► https://github.com/TheCherno/Cubed
Walnut (dev branch) ► https://github.com/StudioCherno/Walnut/tree/dev
Vulkan docs ► https://docs.vulkan.org/
Vulkan triangle sample ► https://github.com/KhronosGroup/Vulkan-Samples/tree/main/samples/api/hello_triangle
RenderDoc ► https://renderdoc.org/
Fork (Git client) ► https://git-fork.com/

Hazel ► https://hazelengine.com
🕹️ Play our latest game FREE (made in Hazel!) ► https://studiocherno.itch.io/dichotomy
🌏 Need web hosting? ► https://hostinger.com/cherno

📚 CHAPTERS
0:00 - Intro
1:26 - Vulkan resources and documentation
6:34 - How rendering with Vulkan works
14:34 - Installing and using the Vulkan SDK
18:54 - Setting up our triangle rendering
26:40 - Creating a graphics pipeline
43:32 - Loading shaders
50:44 - Writing and compiling shaders
55:41 - Command buffers
1:00:54 - Rendering our triangle
1:13:29 - Buffers
1:15:05 - Memory types and staging buffers
1:17:54 - Creating buffers
1:23:15 - Creating a vertex and index buffer
1:30:36 - Modifying our pipeline and shaders to use vertex buffers
1:35:10 - Rendering with vertex buffers
1:36:14 - A BUG!
1:38:45 - Success
1:39:14 - Rendering with index buffers
1:40:22 - Rendering a square with an index buffer
1:42:42 - Rendering a simple cube
1:50:30 - How to debug graphics
1:54:14 - Using push constants to get data into our shaders
1:59:44 - Creating a “camera” with perspective projection
2:08:04 - Cube position and rotation
2:09:04 - Moving our cube with UI
2:10:51 - Fixing our inside out cube
2:12:43 - We need normals - homework
2:15:08 - Rendering multiple cubes in our game and moving the camera

💰 Links to stuff I use:
⌨ Keyboard ► https://geni.us/T2J7
🐭 Mouse ► https://geni.us/BuY7
💻 Monitors ► https://geni.us/wZFSwSK

This video is sponsored by Brilliant.

Comment