blob: b4be90488d08919c9c1d2844d656ac0db1749932 (
plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
'/* Vertex shader */' Comment.Multiline
'\n' Text.Whitespace
'uniform' Keyword
' ' Text.Whitespace
'float' Keyword.Type
' ' Text.Whitespace
'waveTime' Name
';' Punctuation
'\n' Text.Whitespace
'uniform' Keyword
' ' Text.Whitespace
'float' Keyword.Type
' ' Text.Whitespace
'waveWidth' Name
';' Punctuation
'\n' Text.Whitespace
'uniform' Keyword
' ' Text.Whitespace
'float' Keyword.Type
' ' Text.Whitespace
'waveHeight' Name
';' Punctuation
'\n \n' Text.Whitespace
'void' Keyword.Type
' ' Text.Whitespace
'main' Name
'(' Punctuation
'void' Keyword.Type
')' Punctuation
'\n' Text.Whitespace
'{' Punctuation
'\n ' Text.Whitespace
'vec4' Keyword.Type
' ' Text.Whitespace
'v' Name
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'vec4' Keyword.Type
'(' Punctuation
'gl_Vertex' Name.Builtin
')' Punctuation
';' Punctuation
'\n\n ' Text.Whitespace
'v' Name
'.' Punctuation
'z' Name
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'sin' Name
'(' Punctuation
'waveWidth' Name
' ' Text.Whitespace
'*' Operator
' ' Text.Whitespace
'v' Name
'.' Punctuation
'x' Name
' ' Text.Whitespace
'+' Operator
' ' Text.Whitespace
'waveTime' Name
')' Punctuation
' ' Text.Whitespace
'*' Operator
' ' Text.Whitespace
'cos' Name
'(' Punctuation
'waveWidth' Name
' ' Text.Whitespace
'*' Operator
' ' Text.Whitespace
'v' Name
'.' Punctuation
'y' Name
' ' Text.Whitespace
'+' Operator
' ' Text.Whitespace
'waveTime' Name
')' Punctuation
' ' Text.Whitespace
'*' Operator
' ' Text.Whitespace
'waveHeight' Name
';' Punctuation
'\n\n ' Text.Whitespace
'gl_Position' Name.Builtin
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'gl_ModelViewProjectionMatrix' Name.Builtin
' ' Text.Whitespace
'*' Operator
' ' Text.Whitespace
'v' Name
';' Punctuation
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace
|