Hello, been doing OpenGL for 20 years now, but never done lighting with glsl. Trying to get it to work but I've got this weird grid effect. I've shown here the shaded mesh and the wireframe. The edges of the triangles are darker except for the long side which is lighter. Anyone got any idea how this is happening? Normals are normalized everywhere (code, vertex, fragment). This seem to occur on the ‘dark side’ of the hills, though the lighting vector is steep enough to illuminate them with its diffuse only (which is the only lighting component).










