Stride RoundRect instancing

Hallo I needed instanced RoundRect meshes (Skia arrays are not performing too nicely) so I started with the RoundRectSpread and got a mesh with correct topology then instanced it, all good (assuming there is no better way to get a roundrect object in Stride), but the Radius parameter cannot be set in the instancing pipeline as it is set in the referenced mesh.
RoundRect.vl (45.5 KB)

Fuse to the rescue, it is possible with Fuse but I miss how to have a grid of elements (different size of grid on X and Y) equally distributed, if I vary the width/height ratio to have a correct distribution then the corner radius with be uneven.
FuseRoundRect.vl (22.1 KB)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.