-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-template.html
35 lines (35 loc) · 1.27 KB
/
index-template.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
<!DOCTYPE html>
<html>
<head>
<title>shaders</title>
<script src="node_modules/three/three.js"></script>
<script src="node_modules/three/examples/js/controls/OrbitControls.js"></script>
<script src="bower_components/threestrap/build/threestrap.min.js"></script>
<script src="js/Lut.js"></script>
<script src="js/rStats.js"></script>
<script src="js/threestrap-rstats.js"></script>
<style>
canvas {
background: radial-gradient(ellipse at center, #7d7e7d 0%, #0e0e0e 100%);
}
</style>
</head>
<body>
<div style="color: lightgray; background-color: black; position: absolute; top: 0px">
Drag to rotate, mousewheel to zoom, rightclick-drag to pan.
</div>
<div style="color: lightgray; background-color: black; position: absolute; bottom: 0px">
<a href="build/blackcube.html">blackcube</a> -
<a href="build/sinecube.html">sinecube</a> -
<a href="build/gradient.html">gradient</a> -
<a href="build/beach.html">noisyball</a>
</div>
<script id="vertexShader" type="x-shader/x-vertex">
@@vertexShader
</script>
<script id="fragmentShader" type="x-shader/x-fragment">
@@fragmentShader
</script>
<script src="js/main.js"></script>
</body>
</html>