Maybe in could be a good idea to put some shaders in the library ?
Typically:
- a shader for points and lines (from examples/curves)
- a shader for illumination with ambient/diffuse/specular light with a table of light source, similar to OpenGL (from examples/flying_cube, but need adaptation to an array of light source)
- a shadow map shader (from examples/testc, examples/testd, examples/spheres), that would add shadow to the previous shader.
Maybe in could be a good idea to put some shaders in the library ?
Typically: