I'm new in shaders and GLSL.
I am trying to create plane with texture and apply on it shader, which edit texture that is at my plane.
What I need, is to have all pixels of texture in array.
I don't know so much about shaders, I tried search something about my problem but nothing found.
This is image what I am trying to do:

I need to edit pixel by pixel, to edit texture.
I don't know how to access resolution of texture and how to access specified pixels, like X=3,Y=22,Z=6.
Sorry for this strange description of my problem, but my english is very bad and i don't know how to describe
