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
Right now, to create a shader with p5.strands, we have a lot of brackets, e.g. baseMaterialShader().modify(() => { ... }). It may not be obvious to users that baseMaterialShader() is a function (that's actually more an artifact of its implementation, it probably doesn't need to be) and it's easy to forget the brackets, as I do often! We can maybe make new methods for each base shader that skips that step, e.g. modifyMaterialShader(() => { ... }), modifyFilterShader(() => { ... }), etc.