aight bois! i talked to TinyTexel on shadertoy and he showed me his really cool implementation of Normal2Depth using fourier space filter inversion: www.shadertoy.com/view/XcjXDc I spent a bit of time wrapping my smooth brain around the code and managed to cobble together the same thing in COP:s using OpenCL:
it is very very fast.
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20240410/17/24/image.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20240410/17/24/fftNormal2Depth.hiplc