Here is another WIP “ShaderProgram” type utility that you can feel free to use/adapt (using GL20). Also includes a geometry shader class (old-style, using EXT and GL_GEOMETRY_VERTICES_OUT).
Thanks, i will study it tomorrow, it is too late for today
I just need to learn how write my above code in GLSL… nothing is quite simple this day…