Is it possible for you to provide the Falloff function for the square falloff equation?
]]>Good catch! I’ve updated the article with the correct equation. Thanks!
]]>Thank you very much for the tutorial.
I recently heard about metaballs, and I immediatly loved them.
They are such an easy way to create a very cool effect, and thanks to your tutorial I really understand them perfectly now.
There’s one thing I wanted to note though:
Here in the tutorial you are using (2/3)(1-r)(1-r)
But in the demo you are using (3/2)(1-r)(1-r)
It should be (3/2), otherwise you won;t see anything.
You might want to fix this 😉
effect.Projection = Matrix.CreateTranslation(-0.5f, -0.5f, 0) * Matrix.CreateOrthographicOffCenter(0, viewport.Width, viewport.Height, 0, 0, 1);
Can you let me know what I can do to keep the metaballs inside the rectangle? Thanks again!
]]>