fromCubemap method
dynamic
fromCubemap(
- dynamic cubemap, [
- dynamic renderTarget
Generates a PMREM from an cubemap texture, which can be either LDR or HDR. The ideal input cube size is 256 x 256, as this matches best with the 256 x 256 cubemap output.
Implementation
fromCubemap(cubemap, [renderTarget]) {
return _fromTexture(cubemap, renderTarget);
}