fromEquirectangular method

dynamic fromEquirectangular(
  1. dynamic equirectangular, [
  2. dynamic renderTarget
])

Generates a PMREM from an equirectangular texture, which can be either LDR or HDR. The ideal input image size is 1k (1024 x 512), as this matches best with the 256 x 256 cubemap output.

Implementation

fromEquirectangular(equirectangular, [renderTarget]) {
  return _fromTexture(equirectangular, renderTarget);
}