What is WebGLThe graphics layer under your game, chosen while EvonX builds it.
WebGL is how a web page draws with your device's graphics chip, no plugin needed. Every EvonX game runs in the browser on it or on its successor, WebGPU: three.js draws the 3D, Phaser the 2D. The AI picks the renderer as it builds, and a browser that cannot draw 3D gets a clear screen, not a blank page.
How it works
From your idea to pixels in any browser.
You never choose a graphics API. These are the steps EvonX takes for the graphics of every game it builds.
- Step 1
You describe the game
A sentence is enough. EvonX works out whether the game is flat or has a 3D world, and that decides which part of the browser's graphics it leans on.
- Step 2
2D and menus draw through Phaser
Menus, puzzles and flat games are drawn by Phaser, set to use WebGL and to fall back to the browser's plain 2D canvas. Every game's menu is 2D, 3D or not.
- Step 3
3D is built for WebGPU
A game with a 3D world is drawn by three.js and declares WebGPU as its renderer. One renderer starts before the first scene, and every level borrows it and hands it back.
- Step 4
WebGL2 covers older devices
On a phone or browser without WebGPU, three.js runs the very same materials on its WebGL2 backend. It is one build that draws on either, not a second version of your game.
- Step 5
No 3D still means no blank page
If a browser offers neither, the 2D menus still open and the first 3D level stops on a screen that explains the setting, with steps for that browser. EvonX logs it as the player's browser, so no repair runs on your credits.
WebGL meaning
What is WebGL? One draw call, followed through the GPU.
WebGL stands for Web Graphics Library: a JavaScript interface, based on OpenGL ES, that lets a page hand geometry to the graphics chip and get pixels back inside a canvas element. The picture follows one real draw call, the cannon from Conveyor Smash, a game EvonX made. Its 8,466 vertices are uploaded once, a vertex shader places each of them, the GPU assembles 11,044 triangles, the rasterizer keeps the pixels whose centre falls inside each one and a fragment shader colours every pixel.
All of that is a single call, because the cannon is one mesh with one material. A game repeats the pipeline for every visible object, every frame, and at 60 frames a second the whole list has 16.7 milliseconds. That shared budget, more than any one model's size, is why the number of calls matters so much in browser 3D.
gl.drawElements(gl.TRIANGLES, 33132, gl.UNSIGNED_SHORT, 0)cannon.glb · 1 mesh · 1 material- 01Buffers8,466 vertices uploaded
- 02Vertex shaderruns 8,466 times
- 03Triangles11,044 assembled
- 04Rasterizerpixel centres inside
- 05Fragment shaderone run per pixel
- 06Canvasthe frame you see
WebGL 2.0 on your device
What your browser offers, read live on this page.
The panel asks the browser you are reading this in the questions an EvonX game depends on when it starts: is there a WebGL context for the 2D layer, a WebGL 2.0 context, a WebGPU adapter? Which graphics chip answers, how large a texture can it hold, how many samples smooth its edges? The answers stay on this page.
The verdict line turns them into what a game would do here. With WebGPU, its 3D draws on WebGPU. Without it but with WebGL 2.0, the same game runs on the WebGL2 backend. With neither, its menus open and its 3D shows the help screen. Released in 2017, WebGL 2.0 brought instanced drawing and multiple render targets, and three.js needs it whenever WebGPU is absent. Under the panel, the free WebGL and WebGPU check runs its stress test.
- WebGL 1
- reading
- WebGL 2.0
- reading
- WebGPU
- reading
- Graphics chip
- reading
- Largest texture
- reading
- Edge samples (MSAA)
- reading
- WebGL extensions
- reading
WebGL 3D on a phone
Fewer draw calls, measured on a real game.
On a phone the cost of 3D often lies in the number of calls a frame makes, before the triangles. The game recorded here is the template EvonX measured its 3D rules on, and the counters replay three of them. Drawing many identical pieces as one instanced mesh took a frame from 235 draws to 158. Merging the crates that never move took 112 scene draws to 60 and 89 shadow draws to 33. Drawing still shadows once instead of every frame took 28 shadow draws to 14. Each figure was measured on its own, so they do not add up.
The largest step was the renderer itself. On an iPhone 12 Pro Max the same game ran at about 30 frames a second on WebGL and 60 on WebGPU, which is why every new 3D game EvonX builds starts on WebGPU. These rules are part of the guidance the AI writes your 3D with.
- scene
158235 → 158 - scene
60112 → 60shadow3389 → 33 - shadow
1428 → 14
Each measured on its own: the numbers do not add up.
WebGL games
Three.js games and Phaser games, in every kind of browser.
These are recordings of EvonX's own game templates, each tagged with what its recipe declares. The four 3D ones, a tower defense island, a screw puzzle, a tap-away block puzzle and a parking jam, are three.js games built for WebGPU. The match-3 and the word search are 2D games drawn by Phaser. The switch opens all six in a different browser.
With WebGPU, every game draws on its first choice. Take WebGPU away and the 3D games carry on through the WebGL2 backend, the same on screen. Switch 3D off entirely and the 2D games still draw on Phaser's canvas fallback, while each 3D game stops on its help screen instead of a black frame. Across the library the split is even: 72 recipes are 3D, all of them on WebGPU, and 72 are 2D.
- three.jsTower defenseWebGPU
- three.jsScrew puzzleWebGPU
- three.jsTap awayWebGPU
- three.jsParking jamWebGPU
- PhaserMatch 3Phaser · WebGL
- PhaserWord searchPhaser · WebGL
72 3D recipes, every one on WebGPU · 72 2D recipes on Phaser
What you get
Graphics that fit the browser in front of the player.
One build for every browser
The same game draws on WebGPU where the browser has it and on WebGL2 where it does not. There is no second version to keep in step.
3D written for phones
Instanced pieces, merged static props and shadows drawn once are part of how EvonX writes 3D, each rule measured on a phone before it became one.
Menus that always open
The title screen and menus are 2D through Phaser, which falls back to the plain canvas, so they never depend on a 3D context.
An answer instead of a crash
Where 3D is off, the player reads that it is a browser setting, gets the steps for that browser and system, and the game reloads once it can draw again.
Curious about your own device?
See what your browser can draw, free, in seconds.
The free WebGL and WebGPU check reads WebGL 1, WebGL 2 and WebGPU support, the graphics chip your browser really uses, its limits, extensions and compressed texture formats, warns when 3D runs on the CPU, and runs a stress test that keeps adding shaded objects while the frame rate holds. No account, nothing uploaded.
Open the free checkHonest limits
What EvonX does not do here.
One renderer per game
A game is built for WebGPU or for WebGL when it is built, not switched while it runs. Every 3D game EvonX makes today is built for WebGPU and reaches WebGL2 through three.js.
3D needs WebGL2 or WebGPU
A 3D level cannot run in a browser that offers neither. It stops on the help screen; EvonX does not draw the 3D some other way.
The help screen speaks two languages
Its title and steps are written in English and Turkish. A player whose browser is set to any other language reads them in English.
The device still sets the ceiling
WebGPU and low draw counts help, but an old phone with a weak graphics chip can still drop frames in a busy 3D scene.
No Unity or Godot exports
EvonX writes its games in TypeScript on three.js and Phaser. It does not build or open Unity or Godot WebGL projects.
Questions
WebGL, answered.
What is WebGL?
WebGL is a JavaScript API that lets a web page draw 2D and 3D graphics with the device's graphics chip, inside a canvas element and without a plugin. It is based on OpenGL ES and maintained by the Khronos Group, and every current desktop and mobile browser supports it.
What does WebGL mean?
WebGL stands for Web Graphics Library. The name describes it well: the OpenGL way of drawing, opened up to JavaScript on the web.
What is WebGL 2.0?
WebGL 2.0 is the second version, released in 2017 and based on OpenGL ES 3.0. It added features modern engines rely on, such as instanced drawing, multiple render targets and 3D textures. three.js, which draws the 3D of EvonX games, needs WebGL 2.0 whenever it is not running on WebGPU.
What are WebGL games?
Games that draw their graphics through WebGL in the browser, so they open from a link with nothing to install. EvonX games are browser games of this kind: their 2D draws through Phaser, their 3D through three.js on WebGPU or WebGL2.
Are EvonX games three.js games?
Their 3D is: every 3D game EvonX builds is drawn by three.js. Menus and 2D games use Phaser. Both are open web libraries, so the result is a web game, not an export from a closed engine.
Does EvonX use WebGL or WebGPU?
Both. A 3D game is built for WebGPU, and on a device without WebGPU three.js runs the same materials on WebGL2. 2D games and menus use Phaser on WebGL, or the plain canvas when WebGL is missing.
What happens when a player's browser has 3D turned off?
The game still opens its 2D menus. The first 3D level stops on a screen that says 3D graphics are off in this browser, lists steps for that browser and system, offers a settings link to copy and a Try again button, and reloads by itself once 3D is back. Our guide to getting WebGL working again covers each browser in detail.
Does a browser without 3D cost me credits?
No. EvonX records it as the viewer's browser, not as a bug in your game. Nothing is repaired, so no fix runs on your credits.
How can I see what my own browser supports?
Open the free WebGL and WebGPU check. It shows WebGL 1, WebGL 2 and WebGPU support, the graphics chip your browser uses and its limits, all worked out on your device.
Skip the graphics API. Describe the game.
Tell EvonX what you want to play. It picks the renderer, writes the 3D for phones and makes sure every browser gets a game or a clear answer.
Make a game