Matching the sunlight with opengl shadow

Thanks for the update; I just found another sun position addon that is now included in the latest version of Blender, in case you like to check it out: