How to enable WebGL in Internet Explorer 11

3:27 PM

Windows Blue, the first major upgrade for Windows 8, will most likely pack the final version of Internet Explorer 11, the next important release of Microsoft's in-house browser that's reportedly under development right now.

In addition to tab syncing and a download manager, Microsoft is also planning to bring WebGL support in the upcoming version of Internet Explorer, probably because its app is losing ground in the fight with the other browsers when it comes to web-based games and other services relying on this technology.

Microsoft and Apple are two of the five major browser makers who are not supporting WebGL platform in their web browsers but Internet Explorer 11, as seen in the recent leak of Windows Blue, contains hints in its code that Microsoft will finally be adding native support for WebGL. The only problem is that it’s not entirely functional yet:

But if you want To enable WebGL, just execute the registry script below and restart Internet Explorer 11. You may also want to ensure you install the latest vendor-provided display drivers. (Inbox drivers don't typically provide much in the way of OpenGL support.)

1-Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBGL]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBGL_HLSL_SHADERS]

 2-To reproduce the blue WebGL screenshot above, cut/paste this sample code into an .html file and display it in IE 11.

<body onload="demo()">
<canvas style="height: 100%; width: 100%" id='webgl' />

var gl = {};
function demo()
  var canvas = document.getElementById("webgl");
    gl = canvas.getContext("experimental-webgl");
  } catch(e) { }

  if (gl) {
    gl.clearColor(0, 0.678, 0.937, 1.0);

There’s not much more to go on at this time beyond the initial hints, but it would be incredibly advantageous for the Web if Internet Explorer finally added native WebGL support. It’s quickly becoming one of the more important open Web standards as more people use it to make games and other graphic intensive content on the Web without plugins.

Please always link back to this article by copying one of the codes below.

URL: HTML link code: BB (forum) link code:


Post a Comment