No video

Concurrent Programming: Compute Shaders

  Рет қаралды 596

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
Рет қаралды 513
Getting Started with Compute Shaders in Unity
14:03
Game Dev Guide
Рет қаралды 196 М.
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 58 МЛН
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 54 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 39 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 38 МЛН
Concurrent Programming: Taskflow
19:07
GetIntoGameDev
Рет қаралды 308
Linear Algebra for Game Development 3: Vector Projection
17:40
GetIntoGameDev
Рет қаралды 341
Databases are the endgame for data-oriented design
20:31
SpacetimeDB
Рет қаралды 1,6 М.
How To Write Fast Shaders
10:33
Jump Trajectory
Рет қаралды 18 М.
Concurrent Programming: SIMD
22:56
GetIntoGameDev
Рет қаралды 430
Why Do Video Game Studios Avoid Blender?
6:49
The Cantina
Рет қаралды 501 М.
OpenGL Oversimplified: Stencil Tests
15:33
GetIntoGameDev
Рет қаралды 102
Coding Adventure: Compute Shaders
5:25
Sebastian Lague
Рет қаралды 786 М.
OpenGL with C++: View Culling
26:41
GetIntoGameDev
Рет қаралды 220
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 58 МЛН