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

Merge branch 'master' into dev

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