Shader : Make Rounded Rectangle Shader

Similar to Make Oval Shader, but Rounded Rectangle.

Exemple applied to a cube :

Also as a separate download, a Make Rounded Rectangle Object.

Place these .c node inside your Vuo Modules folder. You can search for these node by typing BSS in the node library.
Public domain, any feedback or improvements welcome.

bss.shader.makeroundedrec.c.zip (1.06 KB)

bss.scene_.roundedrec.c.zip (1.11 KB)