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
It seems like currently only one dynamic position is supplied to the sdf function.
I would prefer if the user could define how many dynamic positions you supply to each shader.
At least up to 4 positions would be necessary for common bezier curves. Having dynamic curves is pretty important for my use cases.
The text was updated successfully, but these errors were encountered:
Hi, this is similar to #3. #5 is what I use for a similar use case, but it only sends a vec4, in which you could pack two vec2's so you have 4 positions total.
It's not the most scalable or pretty solution, though. So if you have suggestions of how to add an ergonomic API for adding a dynamic number of arguments, I'm very interested.
EDIT: sorry, I think I made a booboo, you probably need more 2 positions more, so #5 won't work for you :/
It seems like currently only one dynamic position is supplied to the sdf function.
I would prefer if the user could define how many dynamic positions you supply to each shader.
At least up to 4 positions would be necessary for common bezier curves. Having dynamic curves is pretty important for my use cases.
The text was updated successfully, but these errors were encountered: