Monday, September 21st, 2009p>We mentioned that WebGL had landed in WebKit source, when it joined Firefox.
Vladimir Vuki?evi? of Mozilla has posted on how it shows up in a nightly instead of just source (which requires a compiler flag etc.
This is incredibly exciting, as Jon Tirsen said:
Your next 3D shooter will sport a nice “Your browser is not supported please install Chrome, Safari or Firefox.” (Re: WebGL.)
Hopefully IE gets there too of course (Opera is in the group so we should see something there too).
Here is Vlad:
Along with the Firefox implementation, a WebGL implementation landed in WebKit fairly recently. All of these implementations are going to have some interoperability issues for the next little while, as the spec is still in flux and we’re tracking it at different rates, but will hopefully start to stabilize over the next few months.
If you’d like to experiment with WebGL with a trunk nightly build (starting from Friday, September 18th), all you have to do is flip a pref: load about:config, search for “webgl“, and double-click “webgl.enabled_for_all_sites” to change the value from false to true. You’ll currently have the most luck on MacOS X machines or Windows machines with up-to-date OpenGL drivers.
We still have some ways to go, as there are issues in shader security and portability, not to mention figuring out what to do on platforms where OpenGL is not available. (The latter is an interesting problem; we’re trying to ensure that the API can be implementable on top of a non-GL native 3D API, such as Direct3D, so that might be one option.) But progress is being quickly made.
Posted by Dion Almaer at 5:03 am