Hey,
I’ve written a very basic app based on example from Learning WebGL page (http://learningwebgl.com/blog/?p=1786) that renders red color (value 2.0) to a texture and then in the next pass fetches color from this texture and renders it to the screen.
Everything works fine if I use UNSIGNED_BYTE as a texture type, but when I switch to FLOAT it doesn’t work anymore and I get INVALID_FRAMEBUFFER_OPERATION error on clear and drawElements calls and just a black canvas. The render target is 512x512 and in RGB format.
Anybody knows if it’s actually supported by any browser? I’m using Chrome 10 (dev channel), which says that it supports OES_texture_float extension.
Cheers,
Szymon