Uniform curvature in RoundRect

hallo guys! I’m trying to create some nice pattern texture here.

As you can see when the rectagle are too stretched (or too shrank) the corners looks bad
There is a way to make all the round corner with same radius?

squares.v4p (20.5 KB)

Yea, for that one to work you have fix it in c#

You can grab that And make a pattern
This guy has pretty nice tutors on Raymarching you can get all the

Maybe you can try with VL and skia…

And you always can build your own with 5 quads and 4 segments

1 Like

Check out the NineSlice (DX11) help patch.

1 Like