In Godot, you have both stages in the same file. The vertex shader goes inside the vertex() function and the fragment shader inside the fragment() function.