forked from colinfizgig/aframe_Components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuzzReflect.html
36 lines (22 loc) · 1.66 KB
/
buzzReflect.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
35
36
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="utf-8" />
<title>Hello, World! • A-Frame</title>
<meta name="description" content="Hello, World! • A-Frame" />
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="./components/camera-cube-env.js"></script>
<script src="./components/refract-cube-env.js"></script>
</head>
<body class="a-body ">
<a-scene background="color:#5f5f5f" class="fullscreen" inspector="" keyboard-shortcuts="" screenshot="" vr-mode-ui="" shadow="autoUpdate: true; type:pcfsoft">
<a-assets>
<img id="sky" src="./textures/sky.jpg">
<a-asset-item id="buzz" src="./Buzz1.glb"></a-asset-item>
</a-assets>
<a-sky src="#sky" material="" geometry="" rotation="0 90 0"></a-sky>
<a-entity gltf-model="#buzz" shadow="true" position="0 0 -10" rotation="0 -30 0" camera-cube-env="distance: 5000; resolution: 512; repeat: true; interval: 600"></a-entity>
<a-plane position="0 -3.55 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4" shadow="" material="" geometry="" scale="100 100 1"></a-plane>
<a-entity position="-3.25 6.437 3.45" id="spotlight" light="castShadow:true;penumbra:0.78;angle:20.59;target:#sphere;shadowMapHeight:2048;shadowMapWidth:2048;shadowCameraFov:50;shadowCameraFar:492.95;shadowCameraVisible:false;shadowCameraTop:30;shadowCameraRight:15;shadowCameraBottom:-15;shadowCameraLeft:-15"></a-entity>
<a-entity light="type:hemisphere;groundColor:#4a4137;color:#ceeaf7;angle:0;distance:100;decay:0;intensity:0.53;target:#statue" rotation="0 0 0.01" visible=""></a-entity>
<a-entity camera look-controls wasd-controls="acceleration: 600" position="0 1.6 0"></a-entity>
</a-scene>
</body></html>