-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (24 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Belajar WebGL</title>
</head>
<body>
<canvas id="glcanvas" width="640" height="480">
Browser tidak support HTML <code>canvas</code>
</canvas>
<script name="shader" data-src="vertex.glsl" data-type="vertex" data-version="v1"></script>
<script name="shader" data-src="vertex2.glsl" data-type="vertex" data-version="v2"></script>
<script name="shader" data-src="fragment.glsl" data-type="fragment" data-version="v1"></script>
<script name="shader" data-src="fragment2.glsl" data-type="fragment" data-version="v2"></script>
<script type="text/javascript" src="libs/gl-matrix-min.js"></script>
<script type="text/javascript" src="libs/signals.js"></script>
<script type="text/javascript" src="libs/glUtils.js"></script>
<script type="text/javascript" src="libs/uiUtils.js"></script>
<script type="text/javascript" src="index.js"></script>
</body>
</html>