clarify/improve calculations in ogl3-triangle-shade shaders