shader basics based on some tutorials on GLSL