-
Notifications
You must be signed in to change notification settings - Fork 0
/
postProcessDOF.html
50 lines (50 loc) · 1.82 KB
/
postProcessDOF.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>Depth of Field</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Odibee+Sans&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="base.css">
<script type="importmap">
{
"imports": {
"three": "https://cdn.skypack.dev/[email protected]/build/three.module.js",
"FBXLoader": "https://cdn.skypack.dev/[email protected]/examples/jsm/loaders/FBXLoader.js",
"GLTFLoader": "https://cdn.skypack.dev/[email protected]/examples/jsm/loaders/GLTFLoader.js",
"SkeletonUtils": "https://cdn.skypack.dev/[email protected]/examples/jsm/utils/SkeletonUtils.js",
"OrbitControls": "https://cdn.skypack.dev/[email protected]/examples/jsm/controls/OrbitControls.js"
}
}
</script>
</head>
<body>
<div class="container" id="container">
<div class="ui" id="game-ui">
<div id='controller'>
<div id="movement">
<div class="controls" id="up-control"></div>
<div class="controls" id="down-control"></div>
<div class="controls" id="right-control"></div>
<div class="controls" id="left-control"></div>
</div>
<div id="action">
<div class="controls" id="space-control"></div>
<div id="shift-control"></div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/gh/kripken/ammo.js@HEAD/builds/ammo.js"></script>
<script>
navigator.serviceWorker.register('./sw.js')
.then(function(reg){
})
.catch(function(error) {
console.error('Service Worker Error', error);
})
</script>
<script src="./src/postProcessDOF/main.js" type="module">
</script>
</body>
</html>