Blender cavity like effect in ThreeJS

Hi everyone. I’ve been following some tutorials, where the viewport in Blender got a few setting tweaks to make it look better (subjective I know)

In the solid mode view, you can activate “cavity” an bump up the settings to the max values, so you get nice ridge/valley color accents on your models. The sharper the lines, the better the effect, but as I’m currently modeling lowpoly characters & vehicles, it’s just a stunning visual “effect”.

My question now is, can I transfer this kind of look to ThreeJS with the help of some fragment/vertex shaders or some postprocessing?

I’ve been searching for a while and can’t seem to find it…

1 Like

You need to provide a screenshot or an image of the visual effect, so anyone can understand what you’re talking about, this is not Blender forum.

This may be what you’re looking for (except for the pixelisation, just the normal edge and depth edge outline.

1 Like