Created
December 4, 2013 06:02
-
-
Save zhangwc/7783071 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Q:如何显示2d的sprite?一种呈现在场景中(如粒子),一种固定在屏幕上不动(如GUI/HUD) | |
A:不同点在于是否需要设置useScreenCoordinates为true。 | |
Q:如何按一定规则贴上纹理? | |
A:常用 texture.wrapS = texture.wrapT = THREE.RepeatWrapping; | |
texture.repeat.set( 10, 10 ); | |
var material = new THREE.MeshBasicMaterial( { map: texture, side: THREE.DoubleSide } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment