No video

Concurrent Programming: Compute Shaders

  Рет қаралды 609

GetIntoGameDev

GetIntoGameDev

Күн бұрын

#gamedev #gamedevelopment #programming
Lodev's Tutorial: lodev.org/cgtu...
code: github.com/ame...
Playlist: • Concurrent Programming
Discord: / discord
Patreon: patreon.com/us...
X: @blindspotsoft

Пікірлер: 6
@SkyFly19853
@SkyFly19853 Ай бұрын
Looks like a list for a tile map...
@mikelevels1
@mikelevels1 Ай бұрын
Loving this content! Will compute shaders be added to the C++ Vulkan tutorial? Additionally, is it possible to pass the result from a compute pass straight into a vertex shader? I mean without transferring the memory back to the host?
@GetIntoGameDev
@GetIntoGameDev Ай бұрын
1: Yes! I'll probably use them for visibility tests. 2: Yes! In OpenGL this is actually the default behaviour. In this code I bind the storage buffer once at creation, the compute shader writes to it and the geometry shader (but could be any shader module at all) reads from it, no host involvement beyond synchronisation of shaders.
@mikelevels1
@mikelevels1 Ай бұрын
@@GetIntoGameDev thank you so much! Looking forward to the corresponding Vulkan implementation. As always love the content!
@okanguclu4567
@okanguclu4567 Ай бұрын
Why are you uploading the colours buffer to the gpu. Couldn't you just define constants in the shader for it? Would be faster, since you don't need to transfer it from CPU to GPU anymore.
@GetIntoGameDev
@GetIntoGameDev Ай бұрын
Fair point! Defining as a shader constant may speed things up further, not on the memory bus since I’m only transferring once at program creation, but by reducing the number of memory reads.
OpenGL Shader Programming 11: Blur
16:41
GetIntoGameDev
Рет қаралды 536
Introduction to shaders: Learn the basics!
34:50
Barney Codes
Рет қаралды 322 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 7 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 18 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
How To Write Fast Shaders
10:33
Jump Trajectory
Рет қаралды 19 М.
OpenGL with C++: Image Arrays
26:14
GetIntoGameDev
Рет қаралды 772
Compute shader 101
1:22:52
Raph Levien
Рет қаралды 25 М.
Getting Started with Compute Shaders in Unity
14:03
Game Dev Guide
Рет қаралды 197 М.
Why Stardew Valley’s Creator Hated His Game
20:17
Nello
Рет қаралды 816 М.
How Shaders Work in OpenGL
17:37
The Cherno
Рет қаралды 229 М.
Torvalds Speaks: Impact of Artificial Intelligence on Programming
5:05
Mastery Learning
Рет қаралды 847 М.
OpenGL Oversimplified: Blending
14:58
GetIntoGameDev
Рет қаралды 222
Three.js Shaders (GLSL) Crash Course For Absolute Beginners
2:57:28
Visionary 3D
Рет қаралды 90 М.
Modern OpenGL Tutorial - Compute Shaders
11:27
Victor Gordan
Рет қаралды 57 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 7 МЛН