Tex.FromEquirectangular

static Tex FromEquirectangular(string equirectangularCubemap)

   
string equirectangularCubemap Filename of the equirectangular image.
RETURNS: Tex A Cubemap texture asset!

Creates a cubemap texture from a single equirectangular image! You know, the ones that look like an unwrapped globe with the poles all streetched out. It uses some fancy shaders and texture blitting to create 6 faces from the equirectangular image.