What are all factors affecting frictional force?

Mass, the bearing surface (how much weight on what surface area), and a "coefficient of friction", a measure of how rough or smooth the surface is.