瀏覽代碼

Clarify image size limitations (#27764)

WestLangley 1 年之前
父節點
當前提交
b53838fe5c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/extras/PMREMGenerator.js

+ 2 - 0
src/extras/PMREMGenerator.js

@@ -132,6 +132,7 @@ class PMREMGenerator {
 	 * Generates a PMREM from an equirectangular texture, which can be either LDR
 	 * Generates a PMREM from an equirectangular texture, which can be either LDR
 	 * or HDR. The ideal input image size is 1k (1024 x 512),
 	 * or HDR. The ideal input image size is 1k (1024 x 512),
 	 * as this matches best with the 256 x 256 cubemap output.
 	 * as this matches best with the 256 x 256 cubemap output.
+	 * The smallest supported equirectangular image size is 64 x 32.
 	 */
 	 */
 	fromEquirectangular( equirectangular, renderTarget = null ) {
 	fromEquirectangular( equirectangular, renderTarget = null ) {
 
 
@@ -143,6 +144,7 @@ class PMREMGenerator {
 	 * Generates a PMREM from an cubemap texture, which can be either LDR
 	 * Generates a PMREM from an cubemap texture, which can be either LDR
 	 * or HDR. The ideal input cube size is 256 x 256,
 	 * or HDR. The ideal input cube size is 256 x 256,
 	 * as this matches best with the 256 x 256 cubemap output.
 	 * as this matches best with the 256 x 256 cubemap output.
+	 * The smallest supported cube size is 16 x 16.
 	 */
 	 */
 	fromCubemap( cubemap, renderTarget = null ) {
 	fromCubemap( cubemap, renderTarget = null ) {