Would there be any interest in an ambient occlusion plugin? I coded one that looks quite reasonable, but its performance isn’t so good (takes about 10 seconds for a 1024^2 heightfield at sensible settings).
The source code and the built x64 device is attached.
It takes a heightfield as input.
You can specifiy the number of rays per pixel, the minimum hit distance for a ray (this is great for edge highlighting) and the maximum distance a ray travels, along with a height scaling factor.
Made with pdk 2.3.6