I have found proper tutorials regarding Fragment Shaders in the net such as Book Of Shaders, Shadertoy, Processing, etc. Even I have shared my own self teaching material by converting godot shader language (GLES 2.0) as a tutorial template. https://godotforums.org/d/30669-2d-fragment-shader-tutorial-series-beginner-to-advanced-gles-20

However I could not find any organised resource regarding vertex shaders in order to adapt into Godot Environment.
I also need built in godot vertex function and varying, which transfers the infom into fragment shader, samples [2D, GLES 2.0] .
Could you carry me away a starting point for those other than Official Godot Documents?

Thx in advance

  • Godot uses it's own subset of GLSL, but it is effectively the same. I mean, not all the functions are ported over, and there are some differences in the built-ins, but it is essentially standard GLSL. So general OpenGL books should help you. I never actually learned OpenGL, but I did a lot of work with DirectX and HLSL is not all the different either. Once you see the logic and math and the algorithm, the slight syntax differences don't matter much.

Godot uses it's own subset of GLSL, but it is effectively the same. I mean, not all the functions are ported over, and there are some differences in the built-ins, but it is essentially standard GLSL. So general OpenGL books should help you. I never actually learned OpenGL, but I did a lot of work with DirectX and HLSL is not all the different either. Once you see the logic and math and the algorithm, the slight syntax differences don't matter much.