filmov
tv
2D Metaballs on the GPU

Показать описание
Worked on rendering metaballs as a quick weekend project. The final goal is to render nice real-time 3D metaballs, but the 2D test rendering ended up looking pretty nice.
The process is pretty simply, just upload the point charge data to the GPU, render a quad over the whole screen, and have each fragment calculate its charge in the fragment shader.
The process is pretty simply, just upload the point charge data to the GPU, render a quad over the whole screen, and have each fragment calculate its charge in the fragment shader.