Recently, i am working for migrating old opengl code to modern glsl( working on pc and es). the light attribute make me confused.
the fixed code is
const G