Two environmental factors that influence the shape of proteins are pH and temperature.
The term for when the shape of a protein is altered, is denaturation. The impact is has on the proteins ability to function, is that is changes and loses their function.