Bevel mimic by material

Muchasty
Sat, 06 Apr 2019 09:56:06 +0000
Rendering

I need your help with normal vector operations.
I am struggling with the Bevel-Mimic-by-Material and have lack of the basic knowledge about normal vector transformations.
This is my current formula and one side of the mesh has very nice bevel results. But the other side is a mess.
How to change that formula to propagate the bevel to the other side of the mesh?
(that what is black is ofc wrong - I have attached Normals to the Color channel to visualize the bevel creation )

2 posts - 1 participant