Center BulgePinch on an image on mouse movement

Tags: #<Tag:0x00007f250c75d608>

Hello all, I would like to connect BulgePinch to a mouse movement, its works pretty well but it’s not quite centered. any ideas ? https://cables.gl/p/cnQT2S

Hi there,

Try using the map range op on the output of your mouse position.
You could also get a sphere,use it with the https://cables.gl/op/Ops.Gl.Matrix.ScreenPosTo3d_v3 to move it around, get its depth texture (black and white gradient) and then and send that texture to the pixel displace op.