Implement normal calcuation and NormalMaterial.