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
I do think it would be nice if the functionality of UniformNode and UniformsNode was unified in a single call to the uniform function, which may be as simple as constructing the requisite node object depending on whether the argument passes the Array.isArray check. I'm not sure there's a reason the end user would want to differentiate between using uniform() or uniforms().
Description
For the port of
PoissonDenoiseShader
it's necessary to pass an array ofvec3
into the shader. Can this be done withuniform()
already? Something like:The above code produces the following runtime error when I try to access a vector via
this.vectors.element( i )
.The text was updated successfully, but these errors were encountered: