From 1a7fe3a1e0c659def58bab3943ac2f5c21dd226b Mon Sep 17 00:00:00 2001 From: netpro2k <netpro2k@gmail.com> Date: Tue, 26 Sep 2017 15:36:26 -0700 Subject: [PATCH] Put back in skybox and ground plane so we can tell we are moving --- public/index.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index df4d62415..dfeb6ba8c 100644 --- a/public/index.html +++ b/public/index.html @@ -12,6 +12,9 @@ <body> <a-scene networked-scene="webrtc: true; webrtcAudio: true;"> <a-assets> + <img id="grid" src="https://img.gs/bbdkhfbzkk/stretch/https://i.imgur.com/25P1geh.png" crossorigin="anonymous"> + <img id="sky" src="http://i.imgur.com/WqlqEkq.jpg" crossorigin="anonymous" /> + <!-- Templates --> <script id="player-template" type="text/html"> <a-entity></a-entity> @@ -33,9 +36,11 @@ <a-entity hand-controls="right" networked="template:#hand-template;showLocalTemplate:true;"></a-entity> </a-entity> - <a-plane src="#ground" color="#7BC8A4" height="100" width="100" rotation="-90 0 0"></a-plane> - <a-sky color="#ECECEC"></a-sky> + <a-entity id="ground" position="0 0 0" + geometry="primitive: plane; width: 10000; height: 10000;" rotation="-90 0 0" + material="src: #grid; repeat: 10000 10000; transparent: true; metalness:0.6; roughness: 0.4; sphericalEnvMap: #sky;"></a-entity> + <a-sky src="#sky" rotation="0 -90 0"></a-sky> </a-scene> </body> -</html> \ No newline at end of file +</html> -- GitLab