Implements phong shading on terrain and water