I am trying to read the pixels from my ShaderMaterial texture, after the shader has been applied to a plane.
For other kinds of textures, you can readPixels or grab the url and you should be able to have the data.
But in the case of the ShaderMaterial, I am not sure how to get the raw pixel data after the shader is applied. I can’t find any exposed place where a texture has the shader applied.
Is there a way to directly read from the texture that the shader has drawn on or is there a way to get the data from a gl buffer?