What is WebGL? How to enable WebGL?

What is WebGL? How to enable WebGL?

WebGL (Web-based Graphics Library) is a software library that extends the capabilities of the JavaScript language to allow it to create interactive 3D graphics in any browser compatible (Firefox, Chrome …). WebGL code executes the processing on the GPU, noting that the graphics card must have a shader support.

WebGL is not a new concept, it has appeared a few years ago and has been present in our lives, through web browsers.

With WebGL, this is a 3D graphics library for the web , compatible with many modern computer browsers such as Chrome, Safari, IE 11, Firefox , this standard was said in 2009 and officially announced in the year 2010, developed by Khronos.

WebGL is a context of the canvas element in HTML that provides API graphics functions. Released the first version 1.0 on March 3, 2011. WebGL is managed by the non-profit Khronos Group.

Simply put, WebGL is a product created between HTML5 and OpenGL ES 2.0.

Basically, this is a combination of 3D graphics (via the OpenGL ES library ) and the HTML5 and JavaScript web programming language (JS) .

Therefore WebGL not need to plug-in to run outside as Adobe Flash or MS Silverlight . You just need a browser that supports HTML5 and JS is enough (of course, OpenGL will be supported from the graphics driver ).

WEBGL is a web graphics library, the browsers usually support chrome. 
In the future with WEBGL you will not need a computer with terrible configuration or GPU or other support plugins to play games or movies. You only need browsers support webgl to be able to satisfy gaming enthusiasts and graphics applications eye-catching.

How to enable WebGL on a computer browser

Fix “Your graphics card does not seem to support WebGL” in the browser.

WebGL is a 3D graphics hardware acceleration feature for Internet browsers on a computer. Thanks to this feature, the graphics in the web page users are going to be beautiful, smoother and sharper. However, many people often do not pay attention to this feature or accidentally turn off without knowing, rendering the display is inferior, sometimes even some error.

And the error “Your graphics card does not seem to support WebGL” is one of the most common cases where images can not be displayed.

The following article of Download.com.vn will help you implement two processes:

  • Check the WebGL on the computer (see whether it is enabled or not?).
  • If the browser is not enabled or supports WebGL, what should I do?

Check out WebGL on a web browser

This is very simple and does not require users to install software or access complex systems. Just:

  • Copy this address .
  • Paste into the address bar of the browser to check the status of WebGL and then Enter.

If the result appears as below “Your browser supports WebGL” (or sees a spinning prism), it means WebGL is enabled.

If it looks like this:

This means that WebGL is disabled, turned off, and has to be restarted.

Enable WebGL on Chrome browser

Step 1: From the main interface, you click the three dash icons , select Setting.

Step 2: Click Next Show advanced settings …

Step 3: Pull down to the bottom, look for System – System and click on Use hardware acceleration when available.

Step 4: Return to Chrome’s main interface, enter the keyword ” chrome: // gpu ” into the address bar, then Enter . A list as shown below. Look for the Graphics Feature Status and look for the WebGL entry in it.

Often in this section, there will be only 3 results:

  • Hardware accelerated.
  • Software only, hardware acceleration unavailable.
  • Unavailable.

If the display is not WebGL: Hardware accelerated , you can do one of the following:

Option 1: Open Chrome, type Chrome: // flags in the address bar, then Enter .

  • Find the Overwrite the list of software renderings .
  • Click Enable to enable this feature.
  • Restart the browser.

Method 2 : Type ” chrome://flags ” in the address bar and enter. Then select the WebGL prototype (you can change the language for the browser to search for this item).

  • Switch to off mode, disable.
  • Restart the browser.

Method 3: Select the right icon Chrome browser from outside the computer screen, in the Properties.

Chrome Properties appears, click on the shortcut. In the Target pane , add a space to the end of the path and add -enable-webgl to the end and click on OK below.

After this also restart the browser to save changes.

Enable WebGL on Firefox

Step 1: Click the left mouse button in the address bar of the browser, type ” about: config ” into the then Enter . In the list below, you look for webgl.disabled (can enter the search box – Search to find faster.

Check that the value of this item is False.

Step 2: Continue typing ” about: support “, Enter and checking the WebGL Renderer entry in Graphics .

If it is an NVIDIA graphics card or HD Graphics … okay. If you are not (probably “Blocked for your graphics card because of unresolved driver issues” or “Blocked for your graphics driver version”), we will need to take the next step.

Access the three dash icons from Firefox’s main interface, select Options.

Click Advanced / General . Here, tick ” Use hardware acceleration when available checkbox”.

No need to restart the browser, you close the options window and type about: config in the address bar, Enter .

Find the webgl.force-enabled entry and pass its value to True.

If not, you can:

  • Right mouse click on any empty area in the currently displayed list.
  • Select New / Boolean.

Name this item ” webgl.enable-prototype-webgl2″ and then OK.

Finally, move the value of this item to True.

The above tutorial shows you how to check and enable WebGL on computer browsers. Hope this article will help and help you handle the errors associated with this feature in the process of using the web browser.