add support for cube maps