INV_VIEW_MATRIX in compute shaders

Godot Version

4.3

Question

Does anyone know how to properly get the INV_VIEW_MATRIX in compute shader? I have been trying for hours to convert the camera transform to a mat4 but the result is always wrong.

I am making a compositor effect and I need the world position of the depth texture for each pixel.

1 Like

Did you ever solve this?