Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
devwiki:three_js [2022/07/07 11:36] – [Three.js Problem and Solution] ying | devwiki:three_js [2022/07/15 01:00] – [Quick Start] ying | ||
---|---|---|---|
Line 27: | Line 27: | ||
* wave: | * wave: | ||
* https:// | * https:// | ||
+ | |||
+ | ====== Browse Support ====== | ||
+ | |||
+ | * some feature using WebGL 2.0 and some old browser or some mobile browser may not support it, | ||
+ | * you can use code to detect webgl2 support and dynamic change the way of coding to support other browser | ||
+ | * webgl2 support browser tabel: https:// | ||
+ | |||
====== Tools ====== | ====== Tools ====== | ||
Line 401: | Line 408: | ||
// method 2: (works in both firefox and chrome) | // method 2: (works in both firefox and chrome) | ||
const main_texLoader = new THREE.TextureLoader(load_manager) | const main_texLoader = new THREE.TextureLoader(load_manager) | ||
- | const cn_text_ctex = main_texLoader.load(" | + | const cn_text_ctex = main_texLoader.load(" |
+ | cn_text_ctex.flipY = false; | ||
if(child.name == " | if(child.name == " | ||
lang_texture_geo = child | lang_texture_geo = child |