-
Notifications
You must be signed in to change notification settings - Fork 32
/
antialias.html
34 lines (30 loc) · 1.42 KB
/
antialias.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<!-- Movement in Oculus Go
When in Oculus Go, gaze is used for relative direction in which the touch button
works (touch front, moves forward, touch back moves backwards,
right and left the same).
When in desktop, I can move using arrows (thx to wasd-controls)
-->
<html>
<head>
<!-- <script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script> -->
<script src="https://rawgit.com/aframevr/aframe/cf15c15/dist/aframe-master.min.js"></script>
<script src="//cdn.rawgit.com/donmccurdy/aframe-extras/v4.1.2/dist/aframe-extras.min.js"></script>
</head>
<body>
<a-scene renderer="antialias: true;
gammaOutput: true;
sortObjects: true;
physicallyCorrectLights: true;">
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9" shadow></a-box>
<a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E" shadow></a-sphere>
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D" shadow></a-cylinder>
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
<a-sky color="#ECECEC"></a-sky>
<a-entity movement-controls="fly: true" position="0 0 0">
<a-entity camera position="0 1.6 0" look-controls wasd-controls></a-entity>
<a-entity oculus-go-controls></a-entity>
</a-entity>
</a-scene>
</body>
</html>