what factor determines the amount of solar energy an area receives?

i think its latitude but i want to be sure
am i right?