Resources for learning shader

Hello all, I searched all the sites and tutorials for shader development but those which i found are too difficult for me to understand :sweat_smile:. I know this topic has been answered earlier but still I want to ask if anyone has better tutorial for beginners in shader development :grin:.
P.S: I have basic knowledge of python and c++ and know how to do it by nodes in ue4. Just need resources for programming the shader in visual studio. Please let me know if there are any IDEā€™s which can help too! :wink:

Thank-you! :slight_smile:

3 Likes

If u take a node system just try to learn the basics and experiment. You can learn in unreal and use it in Unity, or Amplify to Shaderforge.
Iā€™m learning just playing with them (and watching others people work).

1 Like

I wrote up some Unreal material editor tutorials on my website a while back - just breakdowns of what the nodes do and how they can be used but hopefully they might be of some help:

http://www.tharlevfx.com/unreal-4-material-editor-math/
http://www.tharlevfx.com/unreal-4-uv-tricks/
http://www.tharlevfx.com/unreal-4-material-vectors/
http://www.tharlevfx.com/unreal-4-world-position-offset/

9 Likes

If Iā€™m understanding correctly you want to code one, right?

if so, a couple of links:

http://blog.felixkate.net/2016/05/22/adding-a-custom-shading-model-1/

I never got anywhere with this but you may well do!

3 Likes

Thanks a lot! Iā€™ll definitely look into the links youā€™all provided and get back if have any questions. :slight_smile:

Are you asking for resources specific to an game engine (like Unity or Unreal) or more general?

Asking ā€œhow do I write shadersā€ with out context is hard to answer as itā€™s nearly as open ended as ā€œhow do I write game codeā€. If youā€™ve got a base of c++ thatā€™ll help as youā€™ll understand the basic syntax and conditionals as both GLSL and HLSL are roughly C like.

However if you really just want to learn shaders and arenā€™t tied to a particular engine I would suggest switching to Unity as, unlike with Unreal, writing shader code directly is a common thing to do and there are a lot more resources available for helping to learn to write shaders for Unity. Writing shader code in Unreal is a much more ā€œadvancedā€ use of the engine, and there is relatively speaking far fewer resources available to help learn.

This link is the one I send almost everyone to first, as it does a good job of explaining the basics, both in an engine / api agnostic way and then goes into Unity specific code.

4 Likes

Hey Minal,

These are a few tutorials that i have followed and trying to learn shader writing.
Shader 101, 102, 103

This guy has a very nice surface shader series (He dont have any playlist though)

Oh and not to forget this Unite Talk

Edit : These all are for Unity :ā€™(

Regards
Parag Ponkshe

10 Likes

You also have the Cooking Shaders Book for Unity https://www.packtpub.com/game-development/unity-5x-shaders-and-effects-cookbook

2 Likes

I found the series starting with this one useful:

5 Likes

Thanks for the helpful tutorials!
Maybe I should watch all of these asap.

Gotta love that ā€œMaking stuff look goodā€ channel, Itā€™s a bummer the videos donā€™t come out more often.

1 Like

always liked this guyā€™s series. really wish there was more.

2 Likes

I just made an account on this website to say that these 4 links is something Iā€™ve always wanted in regards to the material editor. Iā€™ve always had some idea what these nodes are doing but Iā€™ve never had them explained, which made them that much more fuzzy to me. I never felt comfortable writing my own stuff like I did in blueprints. I just wanted to comment and thank you. I even saved these to a pdf incase you ever destroy your website lol.

1 Like

Youā€™re very welcome, glad to know theyā€™re useful!