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
2 years agoVulkan Vertex + Index Buffers | Cross Platform Game Engine Development
772 -
LIVE
Dr Disrespect
2 hours ago🔴LIVE - DR DISRESPECT - HIGH KILL SOLOS ONLY
3,074 watching -
DVR
Simply Bitcoin
2 hours ago $0.17 earnedIs The Worlds Richest Man SECRETLY Buying Bitcoin?! | EP 1279
3053 -
LIVE
StoneMountain64
1 hour agoWarzone Reload UPDATE just dropped. New LTM & META weapons!
194 watching -
LIVE
Barry Cunningham
1 hour agoPRESIDENT TRUMP HAS DEMOCRATS IN SHAMBLES AND LEE GREENWOOD INTERVIEW!
1,573 watching -
DVR
Sean Unpaved
2 hours agoSports, Courts, & Contracts: Lia Thomas, Diddy's Verdict, & T.J. Watt's Worth
2.58K2 -
9:02
MattMorseTV
20 hours ago $0.34 earnedThe CDC kept this HIDDEN for 25 YEARS.
73210 -
1:06:47
Timcast
2 hours agoTrump ACCUSED Of MASS EXECUTING Illegals By DUMPING Them In The Ocean
122K174 -
2:01:34
Steven Crowder
5 hours agoAlligator Alcatraz is Destroying Leftist Brains Nationwide
308K166 -
The Charlie Kirk Show
2 hours agoBBB-ack to the House + Zohran vs. Cuba | Rep. Roy, Halperin, Johnson | 7.2.25
31.9K14