Libgdx how to use shader in 3D
I reached a point in my wip game, where I want to make it more eye-appealing. Currently I add some Ambientlight and a Directionla-light to an Environment and render my scene with it. But now I want to add a custom Shader to it. So I have been looking for some tutorials and for some reason in almost every tutorial they have used another "version" of using Shader in their game: Giving the ModelBatch a String or FileHandle vertex/fragment -shader Creating a ShaderProgram with vertex and fragment Shader . Creating a new DefaultShader with this vertex and fragment Shader . Creating a class, which