Added methods in fragment shader for cube and sphere maps