Function to set common uniform added.