WebGL is the new trend in real time graphics embedded in your favorite browser.It consists in a very thin wrapper of OpenGL ES 2.0 that supports only a limited set of OpenGL features when compared to desktop GL but it lets you play with shaders and FBOs, which is really the only thing you need to create very nice effects !
Currently, WebGL is only supported by Chrome, Firefox and Safari. You can find out if your browser supports WebGL by looking at the space below:
If you can see a spinning cube then hurray ! Otherwise, you should consider installing Chrome or another great browser.
NOTE: Sometimes with Firefox, WebGL is available but disabled (in the latest version at least). All you need to do is type "about:config" in the URL bar, then search for "webgl" and double-click the "webgl.force-enabled" property to enable WebGL once and for all. That's it, WebGL is now operational ! Just reload this page and you should see the spinning cube now...
PatAPII ported a small part of the PatAPI that I created for O3D in 2009 and rewrote parts of the O3DJS library, mainly the math and scene format to be able to re-create my cathedral demo in WebGL that you can see in a link below.
The patapi is available here and is free to use.
- [17-08-12]  Simple cube display with a texture. The primitive and shader are created directly by script.
- [19-08-12]  Simple cube display with a texture. Same scene except this time, everything is loaded from my brand new scene format.
- [28-08-12]  The final cathedral project. Converted from O3D and now in your favorite browser for free!
- [28-11-12]  A small project for a display for the anual "Fête des Lumières" in Lyon held on the 8th of december
- [05-12-12]  Photo Re-Hazer, an idea I had to add atmospheric haze to macro-photographs to make them appear with as large scale.
- [07-01-13]  BRDF Explorer, a small web app that lets you explore BRDFs from the MERL database.
- [13-09-17]  Passmw'Albedo, an attempt at providing diffuse albedo reference values. Used at Arkane for the Dishonored 2 franchise.CAUTION: Dark materials values are quite off! Don't go below 21 (sRGB) in luminance!