-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.jade
57 lines (46 loc) · 1.43 KB
/
index.jade
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
// -*- Mode: jade; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
doctype html
html
head
title WebGL Test
meta(charset='UTF-8')
script(src='./jquery-1.9.1.min.js')
script(src='./jquery.base64.js')
script(src='./glMatrix-0.9.5.min.js')
script(src='./webgl-utils.js')
script(src='./code.js')
script#vertex-lighting-fs(type="x-shader/x-fragment")
include vertex-lighting.frag
script#vertex-lighting-vs(type="x-shader/x-vertex")
include vertex-lighting.vert
script#pixel-lighting-fs(type="x-shader/x-fragment")
include pixel-lighting.frag
script#pixel-lighting-vs(type="x-shader/x-vertex")
include pixel-lighting.vert
script#wire-fs(type="x-shader/x-fragment")
include wire.frag
script#wire-vs(type="x-shader/x-vertex")
include wire.vert
script#shadow-fs(type="x-shader/x-fragment")
include shadow.frag
script#shadow-vs(type="x-shader/x-vertex")
include shadow.vert
script#screen-fs(type="x-shader/x-fragment")
include screen.frag
script#screen-vs(type="x-shader/x-vertex")
include screen.vert
:stylus
body
font-family ariel sans-serif
text-align center
#canvasbox
border solid 1px black
#viewport
background grey
width 640px
height 480px
body(lang='en')
h1 Test Canvas
#canvasbox
canvas#viewport
#status Initializing...