Premium Only Content

Our First Vulkan Shaders! | Cross Platform Game Engine Development
In this lesson, we create our first Vulkan GLSL Shaders, set up CMake to automatically compile them with the build, and render our first triangle!
In the next lesson, we will build out our basic input manager to demonstrate swapping out Vulkan Pipelines and set us up for camera controls in the future!
Screenshots extracted from Real Time Rendering 4th Edition: https://amzn.to/3r5vk2I
Heavily referenced VkGuide.dev: https://vkguide.dev/docs/chapter_2
Source code for this lesson: https://github.com/mauville-technologies/youtube-engine/releases/tag/tutorial-04
Chapters:
0:00 Intro
1:13 Vertex and Fragment shaders
8:30 Compiling Shaders (environment variables)
10:45 Compiling Shaders (CMake)
15:00 Load Shaders into Engine
26:50 Pipeline Builder (part 01)
30:40 Struct Initializers
48:00 Pipeline Builder (part 02)
55:05 Pipeline Layout
1:00:00 Create Triangle Pipeline
1:08:15 Draw MonoColor Triangle
1:09:30 Object Cleanup
1:11:35 Set Up Rainbow Triangle
1:16:30 RAINBOW TRIANGLE!!
-
1:37:39
Ozzadar - Game Development
3 years agoVulkan Vertex + Index Buffers | Cross Platform Game Engine Development
772 -
12:14
Nikko Ortiz
2 days agoMilitary Fails Of The Week
38.7K16 -
27:37
pewculture
7 days agoThe I, Robot Gun Looked Cool—Until We Found Out What It Really Was - EP#23 - I, Robot
6.12K5 -
56:00
Omar Elattar
9 months agoHow I Made $800M, Got Depressed & Now Spend $2M Per-Year On My Anti-Aging Health Routine!
14.1K -
24:24
GritsGG
14 hours agoSpectating Random Solos with the Rank 1 Player - Pro Strategies!
6.26K -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
370 watching -
9:27
MattMorseTV
2 days ago $17.85 earnedHe just lost EVERYTHING.
76K117 -
7:10:39
MyronGainesX
1 day agoFormer Fed Explains Serial Killer Israel Keyes, Yahweh ben Yaweh, And The El Rukn Gang, And Police Shooting Reactions!
138K35 -
4:22:33
Due Dissidence
15 hours agoGaza STARVATION Hits Tipping Point, Flotilla CAPTURED, Bongino BREAKS SILENCE, Maxwell MEETS DOJ,
57.1K133 -
10:52:37
GritsGG
16 hours agoWin Streaking! Most Wins 3180+! 🔥
100K2