Best way to learn writing shaders

Hello everyone,
Recently I started learning more about how to work with shaders, how to write your own custom shaders and just have a general understanding on what is happening under the hood.

I really want to learn how to work with compute, general and image effects shaders. Are there any good courses that talks about this in-depth? From beginner to intermediate / advanced. Or some other good resources that I could look into?

Thank you in advance

Hi @UserNobody ,

I’m not trying to be rude but did you even try googling “Unity shader tutorial”? You will get most likely the majority of the tutorials there’s out there. Same goes for compute shaders. Youtube is also full of good tutorials. Check Catlike Coding and Zucconi’s tutorials. You need to be doing a lot of searching when you work on shaders to check theory, existing solutions and so on, so better get into that habit right from the start.

Thanks for the reply, I did try to google, a lot of videos I’ve found are on how to accomplish something by the help of the shaders, e.g. how to create some glowing shader, outline shader or something similar, but what I’m looking for is an in-depth understanding on how shaders work, something that could take me step by step and could help me understand how to write my own without having to question every step of the way. I found very few good tutorials or series on that. Although, I haven’t heard about Catlike Coding, so will have to take a look at that, thanks!

If you want more in-depth information then your best chance is to go dig into books and papers where you find theory on various topics. And for implementations and ideas you can go to shadertoy.com. But the best thing to do is to just get started and try things out. And do that a lot. It’s hard to learn abstract things without trying out what works and why it works etc.

Yeah I suppose, thanks for the tips!