Added cubemap support. Changed filtering from nearest neihbor to linear