I have a texture that I’m trying to send to compute shader.
glGetTexImage() tells me there are some values in it, but when I use texture() in the compute shader I only get zeros.
If I use textureSize() in the compute shader I get correct values.
Also, if I used the same texture in a fragment shader it works ok.
What could be the issue?