Texture Mapping // Vulkan For Beginners #18

Опубликовано: 07 Май 2026
на канале: OGLDEV
3,724
100

In this video we learn how to create and populate an image object in Vulkan and attach it to the graphics pipeline object to enable sampling from the fragment shader.

🔥 See the list of the books that I'm using as background information for my tutorials: https://ogldev.org/books.html
I highly recommend them for learning more about OpenGL and Vulkan. These are affiliate links so if you use them to buy any of the books the price is the same for you and I will get a small commission (thank-you!).

📚 Timecodes 📚
0:00 Intro
1:11 The VulkanTexture class
2:39 Changes to the app class
4:35 Loading the image file
6:35 Creating the texture object
9:25 Allocating memory
11:10 Creating a staging buffer
14:16 Layout transition
21:56 Copy buffer to image
23:40 Command buffer pool issue
24:21 Creating the image view
26:37 Creating the sampler
28:05 Binding the image to the graphics pipeline
32:09 Changes to the shaders
34:35 Outro

Make sure to watch all the previous tutorials in the "Vulkan For Beginners" playlist at    • Vulkan For Beginners  

Please visit https://ogldev.org to see more of my tutorials on modern OpenGL.

🔥Link to source:
https://github.com/emeiri/ogldev/tree...
If you want to get the same version of the code that was used in the video checkout the tag 'VULKAN_18'

🔥Vulkan specification:
https://vulkan.lunarg.com/doc/view/1....

Feel free to comment below.

🔗Contacts:
🔹Email: [email protected]
🔹Instagram: @ogldev1
🔹Github: https://github.com/emeiri/ogldev.git
🔹TikTok -   / ogldev  
🔹Twitter: @ogldev
🔹Discord:   / discord  
🔹One time donations (Paypal): https://ogldev.org/donate.html
🔹Patreon:   / ogldev  

🙏Credits:
🔹Video by sergeyhopes from https://Pixabay.com
🔹Video by NASA-Imagery from https:Pixabay.com
🔹Sound effects by https://Zapsplat.com
🔹Red Dead Redeption 2 clip by ‪@DopeGameplays‬:    • Red Dead Redemption 2 Gameplay PC ▸ Part 1...  

Enjoy,

Etay Meiri

#vulkan