Quellcode durchsuchen

hashBlur: fix repeats arg (#31741)

Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Samuel Rigaud vor 4 Monaten
Ursprung
Commit
4fdb25f556
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      examples/jsm/tsl/display/hashBlur.js

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

@@ -24,7 +24,7 @@ export const hashBlur = /*#__PURE__*/ Fn( ( [ textureNode, bluramount = float( 0
 
 	textureNode = convertToTexture( textureNode );
 
-	const repeats = nodeObject( options.size ) || float( 45 );
+	const repeats = nodeObject( options.repeats ) || float( 45 );
 	const premultipliedAlpha = options.premultipliedAlpha || false;
 
 	const tap = ( uv ) => {

粤ICP备19079148号