Modern OpenGL Tutorial - Compute Shaders

Modern OpenGL Tutorial - Compute Shaders

Victor Gordan

2 года назад

54,307 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@webgpu
@webgpu - 22.09.2023 17:50

GUYS. IF YOU WANT TO BE UP TO DATE ON COMPUTE SHADERS: INVEST YOUR TIME LEARNING WGSL (WebGPU's Compute Shader). one of the advantages is that the text (ascii file) with the shader code can be run instantly (with an html helper) in anyone's browser without needing any compiler. -- if you were wondering, the "native" code you're writing now (c++ + opengl) can be already ported "in full" to typescript + webgpu (ie, a web app

Ответить
@krakacats7532
@krakacats7532 - 12.04.2023 09:36

i hit the 1k like, haha. Also very great video! I really couldnt find anything useful online for learning compute shader, but this really helped me understand it. Thanks

Ответить
@sonuaryan5287
@sonuaryan5287 - 15.02.2023 18:37

How to provide input as nxn matrix and n size vector and multiply then output

Ответить
@myth0genesis
@myth0genesis - 10.01.2023 06:06

Will there be a step-by-step video about how to make one of these from scratch in, say, VS 2022 and C++ (in keeping with your earlier shader programming series)?

Ответить
@jeffcummings3842
@jeffcummings3842 - 21.12.2022 01:17

Great explanation, thanks! I decided that maybe I was ready for compute shaders, but now I know that's still a bit of a ways away, but within reach, and this helps with understanding when I may actually need them, however experimentation is warranted! Thanks again.

Ответить
@hamimmahmud5777
@hamimmahmud5777 - 20.10.2022 21:21

Keep up the good work

Ответить
@clemdemort9613
@clemdemort9613 - 29.09.2022 23:12

Very nice of you to put a like counter in the description of your video! :)

Ответить
@Jkauppa
@Jkauppa - 09.08.2022 07:22

why webgl 1.0 has to be so stupid formatted

Ответить
@milan9241
@milan9241 - 11.06.2022 15:07

Thank you soo much for these compute shader videos!! They are absolutely amazing and by far the best resource I've found for making compute shaders :D

Ответить
@nickgennady
@nickgennady - 20.05.2022 03:25

So how does OpenGL compare to Vulkin? Also OpenGL does not run on Apple products right? Must be annoying to a certain extent.

Ответить
@mitchellkelly241
@mitchellkelly241 - 19.05.2022 01:44

Every time I come back to the channel the production just keeps getting better and better! I have always wondered how to do animation within OpenGL. Would animation or something along those lines be possible as a tutorial in the future? Thank you for your hard work!

Ответить
@DingoAteMeBaby
@DingoAteMeBaby - 16.05.2022 03:47

this is a terrible video

Ответить
@jawadch8723
@jawadch8723 - 23.04.2022 20:08

Amazing video! Covered everything I needed!

Ответить
@kalebbruwer
@kalebbruwer - 13.04.2022 16:09

Thanks. I was missing one line: glUseProgram() and a small eternity later I figured that out thanks to this video

Ответить
@spookyghostking608
@spookyghostking608 - 05.04.2022 16:07

God bless!

Ответить
@Trandunz
@Trandunz - 23.03.2022 07:45

Love your work Victor, i can still hear your voice when im doing my opengl :)

Ответить
@floriansteinmann7270
@floriansteinmann7270 - 20.03.2022 12:07

Could you please do a tutorial on how to make a grass shader which doesnt only repeat the texture but brings in variation with multiple textures
I think the key is noise maps

Ответить
@floriansteinmann7270
@floriansteinmann7270 - 11.03.2022 21:46

Hey can you please show us how to make a galaxy shader

Should worl similar to endportal shader in minecraft if possiblr

Ответить
@bithigh8301
@bithigh8301 - 10.03.2022 23:56

I've just subscribe!! Awesome video!

btw, which video editor do you use?

thanks for sharing

Ответить
@featherless656
@featherless656 - 04.03.2022 06:16

@VictorGordan , I'm stuck on the 5th tutorial, the only way I could get you to see is to comment on your latest video, whenever I run the program the triangle is white, could you help me with this?(The shader files and code is perfect)

Ответить
@arlynwalker9901
@arlynwalker9901 - 27.02.2022 20:31

s/o to you from china bro, working absolutely well

Ответить
@georgiyx9561
@georgiyx9561 - 24.02.2022 21:35

Thank you so much, i've struggled getting my compute shaders to work and with the help of you, they now work :)

Ответить
@blaarkies
@blaarkies - 24.02.2022 13:17

A good example where this is extremely useful is if you have to do n-body gravity simulations, that is, calculate a value between every object and every other object in the game world, and in the end add up all the values for each object (to find the force applied to each object by gravity). Where normal CPUs can handle a few 100 objects before losing framerate, i bet compute shaders can handle thousands of these

Ответить
@dimitrisspiridonidis3284
@dimitrisspiridonidis3284 - 22.02.2022 03:50

very good job 👍

Ответить
@TristanPopken
@TristanPopken - 21.02.2022 12:22

Hey, thank you for the great tutorial.
I finnaly got to make a working compute shader.
One question though, it seems like the more invocations and the less work groups, the better the performace is.
For example, i get the best performance with x=32 y=32. Why exactly is that?

Ответить
@shinystick241
@shinystick241 - 21.02.2022 05:05

When 3d physics?

Ответить
@KangJangkrik
@KangJangkrik - 20.02.2022 20:57

Will it support ARM devices like raspberry pi and cheap SoC like Allwinner h6?

Ответить
@gergelybertalan5181
@gergelybertalan5181 - 20.02.2022 14:50

@Victor this is awesome!
Where do you learn these things from?

Ответить
@alwinjoshy5888
@alwinjoshy5888 - 19.02.2022 21:37

Thanks for the content.

Ответить
@jakestein8516
@jakestein8516 - 19.02.2022 08:26

Perfect timing. I was just starting to play around with compute shaders this week.

Ответить
@codeblend5225
@codeblend5225 - 19.02.2022 05:22

Thanks! I will.

Ответить
@chrisburrowssucks
@chrisburrowssucks - 19.02.2022 04:53

Epic. Thank you Victor.

Ответить
@alexandru-cristiansandu1016
@alexandru-cristiansandu1016 - 19.02.2022 00:20

Interesting tutorial for some of the more modern capabilities of OpenGL, you definitely become better at making such videos!

Ответить
@kylevondra
@kylevondra - 18.02.2022 21:48

As usual, another banger video. Love to see it, keep up the great work!!

Ответить
@codeblend5225
@codeblend5225 - 18.02.2022 20:42

You are simply amazing. Even a person like me gets everything (when explained by you).

Ответить
@MrDimakoles
@MrDimakoles - 18.02.2022 17:40

good visuals i am enjoying it

Ответить
@BoyBaykiller
@BoyBaykiller - 18.02.2022 17:30

Feels good seeing high quality content on modern (not the 3.x modern) OpenGL. Thanks!
One thing about the shader group vote: It's 4.6 core functionality so you dont have to append the "ARB" suffix. Otherwise it would be using the ARB extension instead of core and somtimes their specification is different. You can then even remove the requiring of the extensions.

Ответить
@TheRoy714
@TheRoy714 - 18.02.2022 17:14

Awesome tutorial

Ответить