Meshbuilder helper create box with rounded edges

I’ve created a helper functions that created a cuboid with rounded edges so that it render nicely with a shader that uses normals.

I thought this might be useful to somebody else so thought I’d share.

There’s probably a simpler way to do this, but at least this implementation works! happy to hear any suggestions! :blush:

Cheers

6 Likes

Nice work! Using a Ribbon like that. This could be a great addition to our Ribbons doc! Want to add it?