I'm trying to achieve in Godot something similar to cavity effect from Blender (this can be enabled in viewport options; cube on the left is displayed by viewport with this option enabled):

blender cavity effect

How would you replicate this?

  • \$\begingroup\$ This looks like a type of ambient occlusion effect. You might want to try Godot's SSAO options to see if you can achieve something similar with that. \$\endgroup\$
    – DMGregory
    Aug 1, 2020 at 16:44
  • 1
    \$\begingroup\$ To me it looks like an edge detection shader applied ontop of the base color with a slight bleeding of white on the edge of each face. \$\endgroup\$
    – user112933
    Aug 4, 2020 at 10:22
  • 1
    \$\begingroup\$ I found something similar with shader code: madebyevan.com/shaders/curvature \$\endgroup\$
    – Sergio
    Jan 19, 2021 at 11:38

1 Answer 1


Closest I've seen to recreating this effect as a shader

https://youtu.be/JMMy-xqrwdw enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .