You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Applies a hash blur effect to the given texture node.
@@ -8,12 +8,35 @@ import { float, Fn, vec2, uv, sin, rand, degrees, cos, Loop, vec4 } from 'three/
8
8
* @function
9
9
* @param {Node<vec4>} textureNode - The texture node that should be blurred.
10
10
* @param {Node<float>} [bluramount=float(0.1)] - This node determines the amount of blur.
11
-
* @param {Node<float>} [repeats=float(45)] - This node determines the quality of the blur. A higher value produces a less grainy result but is also more expensive.
11
+
* @param {Object} [options={}] - Additional options for the hash blur effect.
12
+
* @param {Node<float>} [options.repeats=float(45)] - The number of iterations for the blur effect.
13
+
* @param {Node<vec4>} [options.mask=null] - A mask node to control the alpha blending of the blur.
14
+
* @param {boolean} [options.premultipliedAlpha=false] - Whether to use premultiplied alpha for the blur effect.
0 commit comments