Răsfoiți Sursa

hashBlur: fix repeats arg (#31741)

Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Samuel Rigaud 4 luni în urmă
părinte
comite
4fdb25f556
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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号