title: WebGL Texture read/write at the same time
body: <p>I want to do some rendering with webGL shader but I need to read an array of data which was generated by the shader from previous frame. I'm doing this with using the shader to write to a texture and read that texture with the same shader. However, this doesn't work. The shader can read the texture from the last frame and write to the frame buffer perfectly but it just can't write to the texture again. I also tried to copy the texture to other image unit but it doesn't work either. I'm wondering if there's any restriction on the texture of webGL that you can't do read/write in the same shader? or I did something wrong?</p>
  
  <p>Thanks in advance,
  Yi</p>