What is the usual way to round the edges on a cube, a rectangular object, as in the examples?


An ideal result will look something like these images.
(Naturally, you could literally use a mesh with carefully rounded edges and corners, but it takes a lot of tris to achieve this.)
Pay attention, of course, to the NON- shader approach ...

Add two small flat drawers and just make this new normal halfway, i.e. 45 degrees, between the two sides:

That would be perfect ...
The GDG below provided an article in which someone claims that this is indeed the best way if you do not use the shader approach.
I'm really curious how to do this with a shader .
Note - an incredibly detailed guide to a non-shader approach
http://catlikecoding.com/unity/tutorials/rounded-cube/
source share