forked from MihailRis/VoxelEngine-JS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (59 loc) · 2.15 KB
/
index.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!doctype html>
<html>
<head>
<link rel="icon" href="icon.png" type="image/png">
<title>VoxelCore</title>
<style type="text/css">
html, body {
overflow: hidden;
margin: 0 !important;
padding: 0 !important;
color: white;
}
canvas {
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
image-rendering: pixelated; /* Chrome */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}
.container {
position: relative;
}
#text {
position: absolute;
left: 0px;
top: 0px;
z-index: 10;
}
</style>
</head>
<body>
<div class="container">
<!canvas tabindex="1" width = "1366" height = "768" id = "glcanvas"><!/canvas>
<!canvas width = "1366" height = "768" id = "text"><!/canvas>
<canvas tabindex="1" width = "1366" height = "668" id = "glcanvas"></canvas>
<canvas width = "1366" height = "668" id = "text"></canvas>
<!canvas tabindex="1" width = "1920" height = "1080" id = "glcanvas"><!/canvas>
<!canvas tabindex="1" width = "1920" height = "1080" id = "text"><!/canvas>
</div>
<script src="definitions.js"></script>
<script src="core/queue.js"></script>
<script src="core/maths.js"></script>
<script src="core/camera.js"></script>
<script src="core/mesh.js"></script>
<script src="core/texture.js"></script>
<script src="core/shader.js"></script>
<script src="core/canvas2d.js"></script>
<script src="core/atlas.js"></script>
<script src="core/batch.js"></script>
<script src="lighting.js"></script>
<script src="chunks.js"></script>
<script src="texgen.js"></script>
<script src="physics.js"></script>
<script src="assets.js"></script>
<script src="mainloop.js"></script>
</body>
</html>