First of all, I donβt know about Chrome. I'm sorry. My answer will be about Firefox.
and Firefox and Chrome supposedly support it
"Support" may be a redundant expression ... There is alpha or beta code that is under active development and testing, and for this reason is intentionally disabled by default.
In Firefox Beta 24 and later, you can switch the webgl.enable-draft-extensions
option to about:config
to enable WEBGL_draw_buffers
.
I tested that on a MacBook Air (Intel HD Graphics 3000), OSX Lion and the Khronos WebGL test suite :
- Beta 24 : Crash!
- Aurora 25 : Crash!
Night 26 : all tests passed, in particular
PASS Successfully enabled WEBGL_draw_buffers extension PASS WEBGL_draw_buffers listed as supported and getExtension succeeded
source share