[WebGL entry] 1. browser preparation and webgl entry
Note: The article is translated from http://wgld.org/, the original author shanbenya (doxas). If I have additional instructions in the article, I will add [lufy:]. In addition, the research on webgl is not in-depth enough, and some professional words are required, if the translation is incorrect, please correct me.
Browser support
Lufy: since the original author's writing time was February 2012, the browser support is slightly different from the current, so I will not translate this part. Let's talk about the browser support now (July 2014,
The PC browser supports the following:
Firefox4 or above |
Chrome9 or above |
Safari5.1 and above |
Opera12 or above |
IE11 or above |
○ |
○ |
△ |
△ |
○ |
○: Support △: required. ×: not supported.
Mobile browsers support the following:
Android |
IOS8 |
After Firefoxfor Mobile |
After OperaMobile 12 |
After Google Chrome for Android 25 |
Android default browser |
○ (After android4) |
○ |
○ |
△ |
○ |
* You can install [EnableWebGL] on your smartphone to support WebGL.
Chrome is recommended
In terms of javascript Execution speed and HTML5 support, I personally think Chrome is the most secure. In addition, all content on this website is tested on Chrome. Therefore, we recommend using Chrome. Although I am not a brain fan of Google, I do not deny what you say.
In principle, I used the latest version of Chrome for testing. If you cannot run the code when using FireFox for testing, it may be that FireFox does not support this function, as does other browsers.
Other notes
WebGL cannot be executed for browsers. Because the WebGL standards are not completely uniform, the combination of hardware, OS, and browser compatibility will affect WebGL.
In graphic rendering, the browser has poor compatibility and Some APIs cannot run. In short, the running environment determines the running status of WebGL.
Summary
All content of this website is tested and developed using the latest version of Chrome, so it does not support other browsers. Basically, the premise of running is in Windows.
In the future, more mainstream browsers will support WebGL and gradually improve mobile browsers. Therefore, there will always be a day that supports WebGL without worrying too much about details, let's look forward to it together.
Lufy: Fortunately, my environment is Mac. If Mac is not supported during the translation process, I will add it.
Reprinted Please note: