提交 8278b89c 编写于 作者: M Mr.doob

Merge branch 'master' into dev

......@@ -5,6 +5,7 @@
<title>three.js - pointer lock</title>
<style>
html, body {
width: 100%;
height: 100%;
}
......@@ -18,11 +19,19 @@
#blocker {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
}
#instructions {
width: 100%;
height: 100%;
display: -webkit-box;
display: -moz-box;
display: box;
......@@ -39,10 +48,6 @@
-moz-box-align: center;
box-align: center;
}
#instructions {
color: #ffffff;
text-align: center;
......@@ -180,7 +185,7 @@
light.position.set( 1, 1, 1 );
scene.add( light );
var light = new THREE.DirectionalLight( 0xffffff );
var light = new THREE.DirectionalLight( 0xffffff, 0.75 );
light.position.set( -1, - 0.5, -1 );
scene.add( light );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册