How to play · 3D and your computer

How to enable WebGL in Chrome for a 3D browser game

A 3D game in a browser tab draws with WebGL, and Chrome normally has it on. When a game stays blank, stutters badly or says it cannot start its 3D view, there are a few things to check: one setting, the browser's version and its extensions. This guide goes through them in order, with the screens Chrome itself shows, and uses Cashmate, a free neon city tycoon with a 3D view, as the example of what a game does when WebGL is missing. One warning up front: one of the usual fixes deletes your saved games, so read the last section before you clear anything.

The short version: open chrome://gpu and look at the line for WebGL. If it does not say hardware accelerated, open chrome://settings/system, switch on Use graphics acceleration when available and relaunch Chrome. Still nothing? Update Chrome, try an Incognito window to rule out extensions, and restart the computer. Export your game's save before you delete any site data.

What WebGL is, and what a game uses it for

WebGL is the part of the browser that lets a web page draw with your computer's graphics chip. A 3D game needs it to draw its models, lights and shadows fast enough to move. Newer browsers also have WebGPU, a successor that some games use where it is available.

Cashmate uses both. Its flat 2D map is drawn with WebGPU, or with WebGL where WebGPU is not available. Its 3D city, the view a desktop or laptop opens in, is drawn with WebGL. So the 3D view is the first thing to go when WebGL is off, and the game is built for that:

  • At the start, if the 3D view cannot start, the game quietly shows the 2D map instead.
  • When you press the 3D button, and it cannot start, the game says so: The 3D view could not start on this device.
  • If the graphics chip resets while you play (a driver update or the computer running short of graphics memory), you see The 3D view lost its graphics context. Back to the 2D map. and play on, on the map.

In every case your city is safe: the view changes, the city and its save do not.

Step one: look at chrome://gpu

Type chrome://gpu into the address bar and press Enter. Chrome shows a long report; the part that matters is at the top, under Graphics Feature Status. Find the line that starts with WebGL:

  • Hardware accelerated means WebGL is on and runs on the graphics chip. The problem is elsewhere: skip to step three.
  • Software only, hardware acceleration unavailable or Software only. Hardware acceleration disabled means WebGL runs without the graphics chip, slowly. A 3D game may refuse to start or crawl.
  • Disabled or Unavailable means a page cannot use WebGL at all.

Further down, a section called Problems Detected lists why Chrome turned something off, for example a graphics driver it does not trust. These labels come from the page's own source code in the open-source Chromium project that Chrome is built on; the wording can shift a little between versions.

Step two: turn graphics acceleration on

Graphics acceleration is switched on and off in Chrome's settings under System. Type chrome://settings/system into the address bar, or open the menu with the three dots, choose Settings, then System. Look for the switch labelled Use graphics acceleration when available. Older versions of Chrome label the same switch Use hardware acceleration when available.

  1. Turn the switch on.
  2. Chrome then shows a button beside the switch to relaunch it: press it, or close Chrome completely and open it again.
  3. Open chrome://gpu again and check the WebGL line.

If the switch was already on, or turning it on causes trouble, carry on with step three.

Step three: update Chrome, then rule out extensions

Google's help page Fix videos & games that won't play gives the rest of the checks. In short, it suggests:

  • Update Chrome. Open the menu and choose Update Google Chrome; if you do not see it, you already have the newest version. Then relaunch.
  • Try an Incognito window. Google suggests opening a New Incognito Window and loading the game there; if it works there, an extension or the site's stored data is the likely cause. A city you build in Incognito is not kept after you close the window.
  • Turn extensions off one by one. In Manage extensions, switch them all off, reload the game, then switch them back on one at a time to find the culprit.

One more step of our own, not from Google's page: restart the computer, so that any system update waiting to finish is installed.

The bottom right of the game on the 2D map: the tool bar with Select, Road, Build, Bulldozer and Buy land, and beside it the zoom buttons, the home button and a button marked 3D.
On the 2D map, the button marked 3D tries the 3D view again.

Once chrome://gpu shows WebGL as hardware accelerated, go back to the game and press the button marked 3D next to the zoom buttons. On a desktop or laptop the game remembers that choice and opens in 3D from then on.

Before you clear anything: your save lives in site data

Google's help page also suggests deleting Cached images and files and Cookies and other site data. Be careful with the second one. A browser game without an account keeps your progress in exactly that site data: Cashmate stores your city in Chrome's storage for this site, every 10 seconds and when you leave. Delete the site data and the city is gone.

  1. In the game, open Settings and press Export save. Your city downloads as a small file.
  2. Then clear what you need to clear.
  3. Open the game again, choose Import save in Settings and pick the file. Your city is back.

Deleting Cached images and files alone does not touch the save; it only makes the game load its pictures again.

Still no 3D? Play on the map

Some computers cannot run the 3D view well, or cannot start it. The 2D map plays the whole game, with the same city, goals and shops, and draws ready-made pictures instead of lit 3D models. The link /play/?view=2d opens the game straight on the map, without trying the 3D view first. Phones and tablets open on the map anyway.

We tried the worst case ourselves: in Chromium, the open-source base of Chrome, with WebGL and WebGPU both switched off, the game still opened on the 2D map and the 3D view stayed off. Only if the game cannot draw the city at all does it stop at the loading screen, with Your browser could not start the city renderer (WebGL is required). Please try another browser. Then the checks above, or another browser, are the way forward.

For the controls in 3D, see the 3D guide; on a Mac, the Mac guide covers Safari as well; on ChromeOS the Chromebook guide covers what is different there, and the browser guide covers phones and tablets. The game is free and has nothing to buy. Coins are an in-game currency and have no cash value.

More guides

Every control, tool and setting: the Cashmate player guide.

All guides