loadLightDirection

fun loadLightDirection(direction: Vec3)

Loads an eye-space unit vector pointing toward the light source. Callers transform the world-space sun direction by the modelview rotation (see DrawContext.modelviewNormalTransform) before passing it in, so the fragment shader can dot it directly against eye-space normals.