Hi all.

I use OES_texture_float extension for WebGL.

I can write the float data in the texture and get data in the shader, moreover, after record in a texture in framebuffer, at the subsequent data read-out in shader I receive written float values, it means that textures working properly, but i can't get this float values in javascript.
I do:
Code :
var buf = new Float32Array(3);
gl.readPixels(0, 0, 1, 1, gl.RGB, gl.FLOAT, buf);
, but I got nothing.
What am I doing wrong?

Thanks.