To what extent can protein influence recessive and dominant characters?

What makes genes dominant or recessive?