3 ms·
(And the irony behind "WebGL is a derivative of OpenGL" is that on Windows (at least for Chrome and Firefox), WebGL is actually all based on Direct3D, via ANGLE
by cscheid 15y ago
(And the irony behind "WebGL is a derivative of OpenGL" is that on Windows (at least for Chrome and Firefox), WebGL is actually all based on Direct3D, via ANGLE:
http://code.google.com/p/angleproject/ http://code.google.com/p/angleproject/)
I would love to see shaders on CSS, but GLSL is such an ugly layer to add on top of a fairly nice design. Notice how the SVG filters are so much simpler to specify than the GLSL-on-CSS proposal.
I would much rather that Adobe designed a more restricted, declarative little language which would easily compile to GLSL, than bolt an almost-turing-complete C variant on top of CSS which is hard to reason about, hard to guarantee safety (most of the webgl-crashes-video-drivers issues have still not been solved, aside from the hamfisted "we will block webgl if we see this set of drivers" solution), and hard to interoperate.