-
Notifications
You must be signed in to change notification settings - Fork 14
/
shader.html
27 lines (27 loc) · 745 Bytes
/
shader.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
<!DOCTYPE html>
<html>
<head>
<title>Shader Material</title>
</head>
<style type="text/css">
.btn {
position: absolute;
padding: 4px;
background-color: #ddd;
}
.btn:hover {
cursor: pointer;
background-color: #fff;
transform: background-color .4s ease-out;
}
</style>
<body>
<!-- <input type="file" name="" id="heightFile" onchange="loadHeight()"> -->
<canvas id="canv"></canvas>
<div class="btn" id="reset">loading data...</div>
</body>
<!-- <script type="text/javascript" src="src/three.js"></script> -->
<script src="Three.js"></script>
<script src="TrackballControls.js"></script>
<script src="src/shader.js"></script>
</html>