Browse Source

Update PMREMGenerator.js

Michael Herzog 1 month ago
parent
commit
0a5642348a
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/renderers/common/extras/PMREMGenerator.js

+ 4 - 3
src/renderers/common/extras/PMREMGenerator.js

@@ -215,7 +215,8 @@ class PMREMGenerator {
 	/**
 	 * 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. The minimum supported resolution is 64 x 32.
+	 * with the 256 x 256 cubemap output. The minimum supported input image size
+	 * is 64 x 32.
 	 *
 	 * @param {Texture} equirectangular - The equirectangular texture to be converted.
 	 * @param {?RenderTarget} [renderTarget=null] - The render target to use.
@@ -266,8 +267,8 @@ class PMREMGenerator {
 	/**
 	 * 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. The minimum supported resolution is
-	 * 16 x 16 per face.
+	 * with the 256 x 256 cubemap output. The minimum supported input cube 
+	 * size is 16 x 16 per face.
 	 *
 	 * @param {Texture} cubemap - The cubemap texture to be converted.
 	 * @param {?RenderTarget} [renderTarget=null] - The render target to use.

粤ICP备19079148号