OpenGL: what the basic "package" of shaders to create elements of a 3D scene

1

At the moment, I'm beginning to work with the Shaders concept of the most current versions of OpenGL. My basic reference is the open.gl site tutorials.

After having seen all the texts, and tested the sample source code available, my question is which is the basic set of shaders that I use to render each element of a scene (terrain, sky, buildings, vehicles, characters, etc.). )?

Note that for each element mentioned above there is one or more resource files added to projects (with different formats); and for each file format, consider that the project has a class with methods that return the vertices and their attributes for each element.

    
asked by anonymous 15.08.2015 / 01:07

1 answer

1

If the goal is to try to program an engine for learning purposes, I recommend Benny tutorials:

link

He even has a series where he teaches to make the physical engine:

link

As I said, for learning purposes it is even interesting to see these tutorials but if the goal is to produce a game, engines like Unreal 4, Unity 5, etc ... are free and charge only a percentage of sales which is an absurdly lower cost than having to program the whole engine.

    
15.08.2015 / 02:57