The level of the Titan (as shown by stars) is the primary factor for what grade of Loot can be gained for defeating a Titan. Additionally, the top damage dealers also have a chance for improved loot beyond the baseline provided by the level of Titan. The top player has the best chance for improved loot. The 5 players after the top player also have slightly improved chances for improved loot.