소스 검색

Docs: Improve Bloom radius description. (#32450)

Michael Herzog 5 달 전
부모
커밋
159708a9f6
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      examples/jsm/postprocessing/UnrealBloomPass.js
  2. 1 1
      examples/jsm/tsl/display/BloomNode.js

+ 1 - 1
examples/jsm/postprocessing/UnrealBloomPass.js

@@ -56,7 +56,7 @@ class UnrealBloomPass extends Pass {
 		this.strength = strength;
 
 		/**
-		 * The Bloom radius.
+		 * The Bloom radius. Must be in the range `[0,1]`.
 		 *
 		 * @type {number}
 		 */

+ 1 - 1
examples/jsm/tsl/display/BloomNode.js

@@ -77,7 +77,7 @@ class BloomNode extends TempNode {
 		this.strength = uniform( strength );
 
 		/**
-		 * The radius of the bloom.
+		 * The radius of the bloom. Must be in the range `[0,1]`.
 		 *
 		 * @type {UniformNode<float>}
 		 */

粤ICP备19079148号