Cheap round-edged box (vertex shader)

@Usnul
You can dynamically create a box with rounded edges, then transform it to a capsule, then to a sphere, without re-building of its geometry :slight_smile:

Iโ€™ve started that theme long ago :smiley: Round-edged box, Round-edged box 2, Round-edged box 3 These are at the level of a geometry, the current one is at the level of shaders.

5 Likes