Hope you’re doing well
Yesterday I started to make some procedural materials for my future projects. So far I’m really happy about the result.
I also tried to make a material that changes colors near the edge of a shape, but I don’t find a proper way to make it works.
I tried with the famous pointiness technique, but the result is not really smooth + it doesn’t work properly for shapes that have bevel modifier and the result is not consistent between two different shapes as you can see on the picture bellow :
Next technique, I tried the bevel node, which at first look fabulous but again, if I had a bevel modifer it starts to look really weird. As you can see, the bevel acts really weirdly with bevel modifier.
Yeah I thought about these tricks too but this is not procedural :-/… would be awesome to see a real solution with a node made for creases and angles to achieve this kind of effect.
So weird… I’ve downloaded the last version of Blender and it doesn’t show up. Same for the last experimental version 2.83 :-/ I only have vector that shows up :o
Even if I try with a cube it doesn’t work the same as you.
My issue is that you use the value from converter math vector but I doesn’t have it even after uninstall and install the last version of blender :-/
As you can see on the image bellow, the value is missing on the vector node. I’ve checked couple times and it’s the Math Vector (It’s not the wrong node…)
The node setups shown further up seems nonsensical to me. Cross product (and subtract) returns a vector, not a value. What comes out of the value socket in cross product mode, I have no idea. If you change to Dot Product, the output will change to value as expected - but it likely won’t produce what is produced above.
Ricky, do you have a source for that setup? Dot product, distance, and length are the only ones that produce a value output. And scale is the only one that uses a value (scalar multiplication).
The main bits there are the Bevel node and ColorRamp—or whatever control node you choose. More Samples will make the Bevel more opaque, until you go too high and the edges start to fade again. Radius will influence thickness. The control node will define sharpness; you can increase radius and tweak that node to make it a bit more defined. I picked a ColorRamp because it’s quick and simple to adjust, but you can try other nodes like Curves.
Thanks for all your replies. Finally, I found a guy on YouTube and he made a complex node tree to make sure that I can play with edges with all kinds of shapes!
Here’s the link for people interested: https://www.youtube.com/watch?v=21G2l2EYhLY
Vector distance. I made a custom group for this long time ago when we didn’t have it built in, for this kind of purpose. But I forgot all about it. Downloaded the edge detect node, will have a look into it later.