Преглед на файлове

hashBlur: fix repeats arg (#31741)

Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Samuel Rigaud преди 4 месеца
родител
ревизия
4fdb25f556
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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号