shaders, opengl where find tutorials

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Enquest

Can somebody point me to a good beginners tutorial on shaders in godot3. I hardly find resources on youtube. The documentation is, wel documentation, but not explaining how to use it.

Is it hard to master?,
Is worth to learn if you only do 2d pixel art games?

:bust_in_silhouette: Reply From: Diet Estus

Many of the Godot shader tutorials currently online are for Godot 2, but can easily be adapted to Godot 3.

For example, this smoke shader tutorial can be adapted to Godot 3 simply by adding a line at the top of the shader code which specifies which type of shader is being created.

shader_type canvas_item;

Many of the online Godot 2 shader tutorials are like this. In Godot 2.0, you did not have to specify the shader type in the code, but for Godot 3 you do.

Like you, I work primarily on 2D games and am a novice when it comes to shaders. But I think they are definitely worth learning.

2D games like Hollow Knight, Salt & Sanctuary, and Slain! all make heavy use of shaders for their effects.