Fixed Terrain Rendering

Added back in texture functions
Merge branch 'refs/heads/Broken-Renderer/TextureFunctions'

Conflicts:
	TerrainViewer/TerrainViewer/Source/Terrain.cpp