fromEquirect static method
The surroundings in an equirectangular panorama image (the top row
straight up, the middle column ahead along +Z). Every panorama pixel
counts, however large the panorama: a small bright sun lights the
scene wherever it falls.
Implementation
static Future<EnvironmentMapData> fromEquirect(
HdrImage image, {
int size = 64,
}) => compute(_equirectJob, (image, size));