I’ve started to learn BabylonJS for some webgl small projects and I’m a bit of stuck trying to build a simple vertex paint tool. Here’s a babylon playground with my progress:
But I’m really concerned here about performance, as with that level of detail the vertex painting is very laggy with quick mouse lines and I can’t get continuous lines if I don’t move the mouse really slow.
Where should I look into for get a faster painting experience? Is it possible to only update the color of the 3 vertices that conform the touched face instead of uptating the whole vertex buffer? Or maybe there’s another way to set up the painting event?
Thanks in advance!