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
792 -
8:38
MattMorseTV
12 hours ago $4.49 earnedThis is CATASTROPHIC for the Dems.
11.2K10 -
19:54
Forrest Galante
2 days agoPrivate Tour Of America's Best Marine Animal Facility
69.7K9 -
2:59:11
Side Scrollers Podcast
18 hours agoDEI’s FINAL BOSS EXPOSED + Book Publisher REVERSES Cancel Attempt + More | Side Scrollers
49.8K18 -
23:00
The Pascal Show
9 hours ago $0.93 earnedCANDACE EXPOSES TEXTS! Candace Owens Shows Proof Charlie Kirk Was B*llied By Donors Before His Death
4.08K -
1:31:37
The HotSeat
13 hours agoBondi On The Hill + Equitable Grading? We Are Failing Our KIDS!
26.2K5 -
6:05
Spooky Grandpa's Scary Stories
1 month agoTHE HARVEST MAN (Halloween, Horror, Folklore, Supernatural, Paranormal)
5.5K7 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
229 watching -
1:02:11
DeVory Darkins
12 hours ago $35.50 earnedDemocrats suffers ANNIHILATION during heated hearing with Bondi as Jack Smith bombshell drops
157K107 -
3:00:07
Price of Reason
12 hours agoJoe Rogan & Theo Von TURN on Trump? Hollywood to STOP Lecturing Viewers? Ghost of Yotei FIASCO!
60.8K8